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

Does that mean vue-style-loader does not support async vue components ? #9

Open
zhushichong opened this issue Nov 26, 2017 · 0 comments

Comments

@zhushichong
Copy link

zhushichong commented Nov 26, 2017

// direct css import from js --> direct (how does this work when inside an async chunk? ...just don't do it)

I use async vue components. It works well in production. But when i modify code and repackaging,errors occured because it tried to load a module that does not exist

`
housing-list?city=350200&locCity=:1 TypeError: Cannot read property 'call' of undefined
at webpack_require (:50:30)
at eval (index.vue?.//extract-text-webpack-plugin/loader.js?{"omit":1,"remove":true}!.//vue-style-loader!.//css-loader?autoprefixer=false!.//vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6f36600c","scoped":true,"hasInlineConfig":true}!.//less-loader!.//vue-loader/lib/selector.js?type=styles&index=0&bustCache:4)
at Object.615 (async-0.js?478733d7f6b739563c1b:37)
at webpack_require (:50:30)
at VueComponent.injectStyle (index.vue:8)
at callHook (vue.common.js:2819)
at VueComponent.Vue._init (vue.common.js:4474)
at new VueComponent (vue.common.js:4648)
at createComponentInstanceForVnode (vue.common.js:4165)
at init (vue.common.js:3982)

`

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