docs: support documentation page using vitepress
This commit is contained in:
1 parent
f8dabb999c
commit
9b65cee277
7 files changed
+825
-22
No files matched your search
+6
-1
@@ -17,7 +17,10 @@
|
||||
"lint": "eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter src",
|
||||
"lint:fix": "eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter --fix src",
|
||||
"format": "prettier .",
|
||||
"format:fix": "prettier . --write"
|
||||
"format:fix": "prettier . --write",
|
||||
"docs:dev": "vitepress dev docs",
|
||||
"docs:build": "npm run format:fix && vitepress build docs",
|
||||
"docs:serve": "npm run docs:build && vitepress serve docs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
@@ -51,6 +54,8 @@
|
||||
"vite": "^3.1.4",
|
||||
"vite-plugin-electron": "^0.9.3",
|
||||
"vite-plugin-eslint": "^1.8.1",
|
||||
"vitepress": "^1.0.0-alpha.22",
|
||||
"vitepress-sidebar": "^1.0.3",
|
||||
"vue-eslint-parser": "^9.1.0",
|
||||
"vue-tsc": "^1.0.9"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user