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:
sanbuphy
2026-01-13 10:34:12 +08:00
parent 6ed6ae796d
commit 50086ae71d
3 changed files with 156 additions and 52 deletions
+5
View File
@@ -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()