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

webpack没有做路径处理 #44

Open
xisiy opened this issue Feb 8, 2018 · 1 comment
Open

webpack没有做路径处理 #44

xisiy opened this issue Feb 8, 2018 · 1 comment

Comments

@xisiy
Copy link

xisiy commented Feb 8, 2018

webpack.config.js的18行后需要判断如果是windows平台要加上
relativePath = relativePath.replace(/\/g, '\\');
不然在windows系统上编译会产生路径错误
tim 20180208170936

另外全剧组件加载有问题
tim 20180208171117

@walid1992
Copy link
Owner

@xisiy 好的

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