add postcss

This commit is contained in:
fxy060608 2018-11-18 16:56:49 +08:00
parent b7190def1a
commit f6f4583acc

View File

@ -38,9 +38,18 @@ module.exports = (api, options, rootOptions) => {
'Android >= 4.4',
'ios >= 8'
],
postcss: {
plugins: {
autoprefixer: {},
'@dcloudio/vue-cli-plugin-uni/packages/postcss': {}
}
},
vue: {
baseUrl: '/',
assetsDir: 'static'
},
vuePlugins: {
service: ['@dcloudio/vue-cli-plugin-uni/index.js']
}
})