在 docs/.vuepress/config.js 文件中设置正确的 base。
如果打算发布到 https://.github.io//(也就是说你的仓库在 https://github.com//),则将 base 设置为 //,此处我设置为 /vuepress-doc/
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
在 docs/.vuepress/config.js 文件中设置正确的 base。
如果打算发布到 https://.github.io//(也就是说你的仓库在 https://github.com//),则将 base 设置为 //,此处我设置为 /vuepress-doc/
VuePress 文档 demo