mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-07-27 04:20:43 +08:00
3945ee611d
- 删除大量废弃的旧代码、依赖和配置文件 - 新增基础项目配置、工具函数、页面模板和请求库 - 重构目录结构,统一项目规范 - 添加commitlint、husky等代码规范工具
27 lines
751 B
TypeScript
27 lines
751 B
TypeScript
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
|
import { tabBar } from './src/tabbar/config'
|
|
|
|
export default defineUniPages({
|
|
globalStyle: {
|
|
navigationStyle: 'default',
|
|
navigationBarTitleText: 'uni-halo',
|
|
navigationBarBackgroundColor: '#f8f8f8',
|
|
navigationBarTextStyle: 'black',
|
|
backgroundColor: '#FFFFFF',
|
|
},
|
|
easycom: {
|
|
autoscan: true,
|
|
custom: {
|
|
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
|
|
'z-paging/components/z-paging$1/z-paging$1.vue',
|
|
'^wd-(.*)': '@wot-ui/ui/components/wd-$1/wd-$1.vue',
|
|
},
|
|
},
|
|
// tabbar 的配置统一在 “./src/tabbar/config.ts” 文件中
|
|
subPackages: [{
|
|
root: 'pages-demo',
|
|
pages: [],
|
|
}],
|
|
tabBar: tabBar as any,
|
|
})
|