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

打包后没法运行? #23

Open
wujindong opened this issue Oct 16, 2019 · 4 comments
Open

打包后没法运行? #23

wujindong opened this issue Oct 16, 2019 · 4 comments

Comments

@wujindong
Copy link

No description provided.

@wdlhao
Copy link
Owner

wdlhao commented Oct 17, 2019

npm run build之后,将dist文件放到服务器即可;

@wujindong
Copy link
Author

必要要放到线上服务器?本地服务器上跑不行,报错!

@wdlhao
Copy link
Owner

wdlhao commented Oct 17, 2019

可以,那要自己修改代码,用本地服务器;用axios代替mockjs接口请求方式;

@mmzwwd
Copy link

mmzwwd commented May 17, 2020

我打包后 GET file:///C:/permission/static/css/app.2a6f0f99.css net::ERR_FILE_NOT_FOUND 页面白屏报这个错误怎么解决啊 求答疑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants