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

dva-cli0.9.2,.webpackrc无法配置devServer #164

Open
yanyue-wyy opened this issue Oct 23, 2018 · 0 comments
Open

dva-cli0.9.2,.webpackrc无法配置devServer #164

yanyue-wyy opened this issue Oct 23, 2018 · 0 comments

Comments

@yanyue-wyy
Copy link

devServer无法配置,没有publicPath,打包出来的文件文件默认是
http://localhost:8000/index.js
http://localhost:8000/index.css
这样的路径,无法直接访问该文件,导致和服务端调试的时候,无法将文件map到本地,因为以上两个路径直接返回了html,请问如何解决这个问题

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

1 participant