首页
IT
登录
6mi
u
盘
搜
搜 索
IT
webpack@1.x 和 webpack@2.x ,SASS ,LESS ,使用autoprefixer
webpack@1.x 和 webpack@2.x ,SASS ,LESS ,使用autoprefixer
xiaoxiao
2021-04-01
26
webpack@1.x
在webpack.config.js文件下,
vue: { postcss: [
require
(
'autoprefixer'
)({ browsers: [
'last 10 Chrome versions'
,
'last 5 Firefox versions'
,
'Safari >= 6'
,
'ie > 8'
] })] }, plugins:[]
webpack@2.x
在webpack.config.js文件下,
rules: [{ test:
/\.vue$/
, loader:
'vue-loader'
, options: {
// vue-loader options go here
postcss: [
require
(
'autoprefixer'
)({ browsers: [
'last 10 Chrome versions'
,
'last 5 Firefox versions'
,
'Safari >= 6'
,
'ie > 8'
] })] } }
转载请注明原文地址: https://ju.6miu.com/read-665553.html
技术
最新回复
(
0
)