Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
田志会 Chris committed Dec 29, 2023
1 parent 4b067ef commit 404e979
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 26 deletions.
4 changes: 4 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import DefaultTheme from 'vitepress/theme'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

/** @type {import('vitepress').Theme} */
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
// register your custom global components
// app.component('MyGlobalComponent' /* ... */)

app.use(ElementPlus)
}
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "vitepress dev docs",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
Expand All @@ -21,6 +20,10 @@
"url": "https://github.com/tzhh0617/vitepress-money/issues"
},
"homepage": "https://github.com/tzhh0617/vitepress-money#readme",
"dependencies": {
"element-plus": "^2.4.4",
"vue": "^3.4.0"
},
"devDependencies": {
"vitepress": "1.0.0-rc.33"
},
Expand Down
Loading

0 comments on commit 404e979

Please sign in to comment.