Github Vuepress无法正确显示文档

Github Vuepress无法正确显示文档,github,github-pages,vuepress,Github,Github Pages,Vuepress,我更新了一个预先存在的vuepress文档,当在localhost:8080/上进行Delopy时,它会按预期运行和工作,但是一旦我将更新推送到gh hub页面,它就无法正确显示 我用于部署的代码: set -e npm run docs:build cd docs/.vuepress/dist git init git add -A git commit -m "Deploy documentation" git push-f git@github.com:NAME/REPO.git

我更新了一个预先存在的vuepress文档,当在localhost:8080/上进行Delopy时,它会按预期运行和工作,但是一旦我将更新推送到gh hub页面,它就无法正确显示

我用于部署的代码:

set -e

npm run docs:build

cd docs/.vuepress/dist

git init
git add -A
git commit -m "Deploy documentation"

git push-f git@github.com:NAME/REPO.git master:gh-pages
我在运行时或部署期间没有错误消息。 但是当我查看github上的实际文档时,它显示的很有趣。而且链接不起作用。。。。当我检查控制台404上的页面dev eniroment时,会出现错误。。。资产中的dist.js文件似乎有问题

不确定如何修复此问题…请帮助。谢谢

图1:显示黑色块 开发人员控制台中的图像2错误 (我只在控制台中生成时没有错误消息)


我想您可能需要再次检查
基准设置是否正确

查看有关和的文档站点



如果这不能解决您的问题,您可以发布更多关于代码的详细信息吗?或者回购?

我不能在这里发布回购,因为这是私人的。底座已正确设置为CONGIF方向
module.exports={base:'/web vagrant/',title:'web vagrant',description:'web vagrant Environment',
我可以分享更多关于代码的信息,你需要什么?我也可以用pm代替你吗?Sun,我修复了它…这是一个基本问题…但我必须仔细看看其他标题。谢谢!!!