- 创建一个远程仓库
- 修改docs/.vuepress/config.js:
base: '/${自定义路径}/'
- 打包文档:
npm run build
- 将项目推送到github
git init git add . git commit -m "init" git push origin master
- 发布文档:
npm run deploy
- 访问在线文档: https://sanm-zh.github.io/vue3-doc/
sanm-zh / vue3-doc Goto Github PK
View Code? Open in Web Editor NEWvue3学习文档
Home Page: https://sanm-zh.github.io/vue3-doc