Skip to content
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

新增vue-router后,本地调试正常,部署到阿里云服务器后,页面空白无法加载主页 #348

Open
hanxiaofeng opened this issue Aug 31, 2024 · 6 comments
Labels
bug 这有一只虫子

Comments

@hanxiaofeng
Copy link

hanxiaofeng commented Aug 31, 2024

问题描述

本地调试正常,打包部署到服务器之后,页面无法打开,有人遇到吗

补充信息

image
@hanxiaofeng hanxiaofeng added the bug 这有一只虫子 label Aug 31, 2024
@sr6y20
Copy link

sr6y20 commented Sep 2, 2024

需要域名解析?

@hanxiaofeng
Copy link
Author

需要域名解析?

我也不太清楚,但是放在safari里面可以正常打开,人麻了,不知道啥情况

@him95
Copy link

him95 commented Sep 5, 2024

vue-router设置的子路由能跳转吗?我试了好像都是默认指回根路由的

@hanxiaofeng
Copy link
Author

vue-router设置的子路由能跳转吗?我试了好像都是默认指回根路由的

我把App.vue改成这样,可以跳转
image

@qipaifeiying
Copy link

vue-router设置的子路由能跳转吗?我试了好像都是默认指回根路由的

我把App.vue改成这样,可以跳转 image

你好,请问问题解决了吗?我也遇到这种问题,不过我是把生成的静态资源部署到github page的,但是是空白页,本地部署好后预览是正常的。

@zsan0023
Copy link

zsan0023 commented Oct 7, 2024

我也有一样的问题,奈何是小白,不会改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 这有一只虫子
Projects
None yet
Development

No branches or pull requests

5 participants