uniapp-h5/pages.config.js

18 lines
495 B
JavaScript
Raw Normal View History

2024-06-25 10:27:51 +08:00
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
// 你也可以定义 pages 字段,它具有最高的优先级。
pages: [],
globalStyle: {
navigationStyle: 'custom',
navigationBarTextStyle: 'black',
navigationBarTitleText: '首页',
},
easycom: {
autoscan: true,
custom: {
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue"
},
},
})