Webpack config for extracting CSS from Vue.js project SSR

preview_player
Показать описание
How to configure webpack to use ExtractTextPlugin to create a css bundle file out of css (plain, LESS or SASS) from Vue components or standalone css files.
Рекомендации по теме
Комментарии
Автор

what is your entry object about that sir? im trying but the scss file is not extracted thanks

kevinmarkandrada
Автор

Hi, i've got error:
"Module parse failed: Unexpected character '@' (1:0)\nYou may need an appropriate loader to handle this file type.

davidricardo
Автор

After I build the app with the config like this, It threw error 'window is not defined'.If I used the default 'vue-style-loader', It worked.

tnzha
join shbcf.ru