feat(docs): integrate ElementPlus and enhance learning map content
- Add ElementPlus UI library to VitePress theme configuration - Improve learning map documentation with collapsible sections and UI components - Add progress indicators and card components to enhance visual presentation
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import ElementPlus from 'element-plus'
|
||||
import 'element-plus/dist/index.css'
|
||||
import Viewer from 'viewerjs'
|
||||
import 'viewerjs/dist/viewer.css'
|
||||
import TypeIt from 'typeit'
|
||||
@@ -8,6 +10,9 @@ import './style.css'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
enhanceApp({ app }) {
|
||||
app.use(ElementPlus)
|
||||
},
|
||||
setup() {
|
||||
const route = useRoute()
|
||||
const { frontmatter } = useData()
|
||||
|
||||
Reference in New Issue
Block a user