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

打包后静态资源路径都是错,浏览器打开页面只有html的内容 #70

Open
GoMingv opened this issue May 30, 2018 · 1 comment

Comments

@GoMingv
Copy link

GoMingv commented May 30, 2018

打包后静态资源路径都是错,浏览器打开页面只有html的内容

@kikyo20
Copy link

kikyo20 commented Oct 10, 2018

在output配置output.config.js那里改一下publicPath:'/'改成'../../../build/'后路径就对了,只是不确定改了后会不会对其它地方产生影响。

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

2 participants