29 lines
788 B
TypeScript
29 lines
788 B
TypeScript
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
|
|
|
export default defineUniPages({
|
|
easycom: {
|
|
autoscan: true,
|
|
custom: {
|
|
// uni-ui 规则如下配置
|
|
'^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
|
|
},
|
|
},
|
|
pages: [],
|
|
globalStyle: {
|
|
backgroundColor: '@bgColor',
|
|
backgroundColorBottom: '@bgColorBottom',
|
|
backgroundColorTop: '@bgColorTop',
|
|
backgroundTextStyle: '@bgTxtStyle',
|
|
navigationBarBackgroundColor: '#000000',
|
|
navigationBarTextStyle: '@navTxtStyle',
|
|
navigationBarTitleText: 'Vitesse-Uni',
|
|
navigationStyle: 'custom',
|
|
},
|
|
// tabBar: {
|
|
// backgroundColor: "@tabBgColor",
|
|
// borderStyle: "@tabBorderStyle",
|
|
// color: "@tabFontColor",
|
|
// selectedColor: "@tabSelectedColor",
|
|
// },
|
|
})
|