-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
Description
When importing vue components from vendors (.vue files residing in node_modules) the styles from style blocks in those .vue files are not being processed by vue-loader. They don't appear anywhere after building. The styles don't appear in the browser when running the dev server npm run dev
. And they don't show up anywhere in any build output in /dist from npm run build
. You can quickly try it yourself and see it doesn't work.
I simply ran the vue-cli on this template and imported the vendor component in the App.vue. I didn't touch any webpack config or anything. Am I misunderstanding something about how vue-loader works?