1 Star 0 Fork 0

Smile/uni-simple-router

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
Smile 提交于 2024-05-11 08:45 . 新增功能:路由拦截
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "simple-router"
},
"aliasPath": "/",
"name": "index",
"meta": {
"needLogin": false
}
},
{
"path": "pages/deviceList/deviceList",
"style": {
"navigationBarTitleText": "设备列表",
"enablePullDownRefresh": false
},
"name": "deviceList",
"meta": {
"needLogin": true
}
},
{
"path": "pages/login/login",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
},
"name": "login",
"meta": {
"needLogin": false
}
},
{
"path": "pages/404/404",
"style": {
"navigationBarTitleText": "404",
"enablePullDownRefresh": false
},
"name": "404",
"meta": {
"needLogin": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "simple-router",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/gqpSmile/uni-simple-router.git
[email protected]:gqpSmile/uni-simple-router.git
gqpSmile
uni-simple-router
uni-simple-router
master

搜索帮助