添加生成文档的功能

This commit is contained in:
wzy-warehouse
2026-04-13 22:00:46 +08:00
parent b58e2d17d7
commit 8ef7d36d26
4 changed files with 203 additions and 25 deletions
+6 -2
View File
@@ -6,7 +6,10 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview"
"preview": "vite preview",
"docs": "typedoc --entryPointStrategy expand src/",
"docs:serve": "npx http-server docs -p 8999 -o",
"docs:watch": "typedoc --watch"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.2",
@@ -33,6 +36,7 @@
"jiti": "^2.6.1",
"npm-run-all2": "^8.0.4",
"prettier": "3.6.2",
"typedoc": "^0.28.19",
"typescript": "~6.0.2",
"unplugin-auto-import": "^20.2.0",
"unplugin-vue-components": "^30.0.0",
@@ -40,4 +44,4 @@
"vite-plugin-vue-devtools": "^8.0.3",
"vue-tsc": "^3.2.6"
}
}
}