创建简单登录页面,然后调试成功
This commit is contained in:
+8
-2
@@ -1,10 +1,16 @@
|
||||
{
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://doc.dcloud.net.cn/uni-app-x/collocation/pagesjson.html
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"path": "pages/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "uni-app x"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/auth/login",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
@@ -14,4 +20,4 @@
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"uniIdRouter": {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user