mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-06 13:53:07 +08:00
add postcss
This commit is contained in:
parent
b7190def1a
commit
f6f4583acc
@ -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']
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user