-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config文件base配置 #92
Comments
你的 base 没有配置正确,嫌麻烦可以直接使用这个模板 https://github.com/maomao1996/vitepress-nav-template |
但是我看我那个base跟你的是一样的呀,没搞懂 |
github 部署和其他的部署是不一样的 |
那page部署是使用 GitHub Actions 还是使用 Deploy from a branch |
都是用的 GitHub Actions 自动部署 |
好的,我试试你的模版,谢谢了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
config文件设置
base: process.env.APP_BASE_PATH || '/',
,打包部署出来界面样式是错乱的, 百度说把base
设置成base: './',
,这样本地打包是正常的,但是部署出来第一时间会有画面但是一会又变成404了。拉取了你的代码,打包出来的dist文件也是错乱的,我看你的博客是正常的,请问大佬这个应该怎么去解决啊
The text was updated successfully, but these errors were encountered: