2👍
✅
add the following lines to the vue-loader.config.js file in build/
postcss: [
require('autoprefixer')({
browsers: ['last 7 versions']
})
]
so it looks like this:
module.exports = {
loaders: utils.cssLoaders({
sourceMap: isProduction ? config.build.productionSourceMap : config.dev.cssSourceMap,
extract: isProduction
}),
postcss: [
require('autoprefixer')({
browsers: ['last 7 versions']
})
]
}
-1👍
“browserslist”: [
“> 1%”,
“last 2 versions”,
“not ie <= 8”
]
In package.json have define, you can see https://github.com/ai/browserslist#config-file
Source:stackexchange.com