Skip to content

Commit

Permalink
fix(routes): 修复一级路由只有一个子路由的情况 close #2
Browse files Browse the repository at this point in the history
  • Loading branch information
huccct committed Aug 29, 2023
1 parent ef76391 commit 7e4d66b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,25 @@
## 使用仓库相关命令

### 安装 pnpm

```
npm i pnpm -g
```

### 安装所有依赖

```
pnpm install
```

### 启动本地测试项目

```
pnpm run dev
```

### 打包

```
pnpm run build
```


1 change: 0 additions & 1 deletion src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export const constantRoute = [
},
],
},

{
path: '/screen',
component: () => import('@/views/screen/index.vue'),
Expand Down

0 comments on commit 7e4d66b

Please sign in to comment.