feat: add pages/login/login.vue file

This commit is contained in:
Burt 2024-01-09 19:24:13 +08:00
parent bc2797fcc0
commit e573a3ba15
3 changed files with 17 additions and 0 deletions

View File

@ -49,6 +49,13 @@
"path": "pages/demo/index", "path": "pages/demo/index",
"type": "page" "type": "page"
}, },
{
"path": "pages/login/login",
"type": "page",
"style": {
"navigationBarTitleText": "登录"
}
},
{ {
"path": "pages/my/index", "path": "pages/my/index",
"type": "page", "type": "page",

View File

@ -0,0 +1,9 @@
<route lang="json5">
{
style: { navigationBarTitleText: '登录' },
}
</route>
<template>
<view>登录</view>
</template>

1
uni-pages.d.ts vendored
View File

@ -6,6 +6,7 @@
interface NavigateToOptions { interface NavigateToOptions {
url: "pages/index/index" | url: "pages/index/index" |
"pages/demo/index" | "pages/demo/index" |
"pages/login/login" |
"pages/my/index" | "pages/my/index" |
"pages/throughout/index" | "pages/throughout/index" |
"pages/index/demo/component-auto-import" | "pages/index/demo/component-auto-import" |