Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

windows上跑起来报错 #269

Open
zhenyuT opened this issue May 23, 2018 · 2 comments
Open

windows上跑起来报错 #269

zhenyuT opened this issue May 23, 2018 · 2 comments

Comments

@zhenyuT
Copy link

zhenyuT commented May 23, 2018

index.html引入js路径总是有个"\"前缀,导致引入js报错:
<script type="text/javascript" src="\/webpackRuntime.e8b204d885671ac302fa.js">

linux上跑正常的

@zhenyuT
Copy link
Author

zhenyuT commented May 24, 2018

主要原因是windows的文件路径是\导致
修改common.config.js配置中的output: {publicPath}为output: {publicPath:'/'},不再报错。

@sunzp21
Copy link

sunzp21 commented Mar 5, 2019

楼主遇到shell功能不可用的问题了吗?

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

No branches or pull requests

2 participants