## 登录页面文件
### 新建目录`/src/views/passport`
### 新建文件`/src/views/passport/Login.vue`
## 配置路由
### 新建目录`/src/config`
### 新建文件`/src/config/router.config.js`
```javascript
import Login from "../views/passport/Login.vue";
export const asyncRouterMap = [
{}
]
export const constantRouterMap = [
{
path: '/login',
component: Login,
hidden: true
}
]
```
### 在`/src/router/index.js`中引入
```javascript
...
import {asyncRouterMap, constantRouterMap} from '../config/router.config'
...
routes: [...asyncRouterMap,...constantRouterMap]
...
```