代码拉取完成,页面将自动刷新
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": "关于"
}
]
},
})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。