Files
frontend-uniapp/pages.config.ts
T
2024-11-17 14:36:36 +08:00

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",
// },
})