mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2025-04-15 18:17: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',
|
'Android >= 4.4',
|
||||||
'ios >= 8'
|
'ios >= 8'
|
||||||
],
|
],
|
||||||
|
postcss: {
|
||||||
|
plugins: {
|
||||||
|
autoprefixer: {},
|
||||||
|
'@dcloudio/vue-cli-plugin-uni/packages/postcss': {}
|
||||||
|
}
|
||||||
|
},
|
||||||
vue: {
|
vue: {
|
||||||
baseUrl: '/',
|
baseUrl: '/',
|
||||||
assetsDir: 'static'
|
assetsDir: 'static'
|
||||||
|
},
|
||||||
|
vuePlugins: {
|
||||||
|
service: ['@dcloudio/vue-cli-plugin-uni/index.js']
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user