1 Star 0 Fork 0

z9130 / acui-uni

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.config.ts 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
z9130 提交于 2023-11-10 17:22 . first remote
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
/**
* homePage string 设置默认路由入口
* @default 'pages/index' || 'pages/index/index'
*/
// homePage: "pages/login/login",
// homePage: "pages/basic/index",
homePage: "pages/component/index",
/**
* dir string 扫描的目录
* @default 'src/pages'
*/
dir: 'src/pages',
pages: [],
/**
* subPackages string[] 扫描的目录,例如:src/pages-sub
*/
subPackages: [],
/**
* exclude string[] 排除的页面
* @default []
*/
exclude: [],
globalStyle: {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#FFFFFF"
},
"tabBar": {
"color": "#bfbfbf",
"selectedColor": "#0165FF",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/basic/index",
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/home_selected.png",
"text": "基础"
},
{
"pagePath": "pages/component/index",
"iconPath": "static/tabbar/component.png",
"selectedIconPath": "static/tabbar/component_selected.png",
"text": "组件"
},
{
"pagePath": "pages/template/index",
"iconPath": "static/tabbar/template.png",
"selectedIconPath": "static/tabbar/template_selected.png",
"text": "模板"
},
{
"pagePath": "pages/about/index",
"iconPath": "static/tabbar/about.png",
"selectedIconPath": "static/tabbar/about_selected.png",
"text": "关于"
}
]
},
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/z9130/acui-uni.git
git@gitee.com:z9130/acui-uni.git
z9130
acui-uni
acui-uni
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891