laravel-elixir-vue-2
laravel-elixir-vue-2 copied to clipboard
Extract scss problem
So i added this to my webpack.config.js
const ExtractTextPlugin = require("extract-text-webpack-plugin");
module.exports = {
vue: {
loaders: {
js: 'buble-loader',
scss: ExtractTextPlugin.extract({
loader: 'css-loader!sass-loader',
fallbackLoader: 'vue-style-loader'
})
}
},
plugins: [
new ExtractTextPlugin("../css/components.css")
]
};
It works and extracts all style tags to an css file, only is also still injects style tags into the head. how do i disable the head style injection?? i have been trying for a whole day, its driving me crazy xD
it was browsersync that causes the problem, the above config works without it