-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Bug Report] vux-loader结合vue-hackernews-2.0的时候报错 #57
Comments
vux-loader换成最新的1.2.8版本后 Module parse failed: Unexpected token (3:0) @ ./src/router/index.js 18:9-40 |
vux-loader version
1.0.61
OS/Browsers version
Mac os10.13.1/Chrome 66.0.3359.117
Vue version
2.5.16
Code
Steps to reproduce
这是vux结合vue的服务端渲染框架vue-hackernews-2.0的时候,
npm run dev或者npm run build都会报错;
What is Expected?
npm run dev能正常跑通
What is actually happening?
错误如下:
error in ./src/components/Hello.vue
Module parse failed: Unexpected token (6:15)
You may need an appropriate loader to handle this file type.
| function injectStyles (context) {
|
| var style0 = ../../node_modules/vux-loader/src/style-loader.js!require("./Hello.vue?vue&type=style&index=0&id=361a4bd2&lang=less&scoped=true")
| if (style0.inject) style0.inject(context)
|
@ ./src/router/index.js 3:0-39
@ ./src/app.js
@ ./src/entry-server.js
(node:2037) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see webpack/loader-utils#56
The text was updated successfully, but these errors were encountered: