Skip to content

Commit e74758c

Browse files
authored
Fix syntax error in routing documentation
1 parent 9c73ff2 commit e74758c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/conventional-routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ nav:
101101
2. 在相同一级路径下,如果仅存在三级路径,则只展示下拉菜单,一级导航本身不带超链,比如上述例子中的 `Platforms` 导航就不带超链;
102102
3. 在相同一级路径下,在 2 的基础上还存在二级或一级路径,则一级导航除了下拉菜单外也带超链,比如上述例子中如果添加 `platforms/xx.md``Platforms` 带超链;
103103
4. 不同级导航之间的侧边菜单是完全隔离的,比如上述例子中 `Platforms``Pc``Mobile` 都拥有不同的菜单;
104-
5. 资产路由本身不支持嵌套,但我们仍然可以通过 [`resolve.atomDirs[n].subType`](../config/index.md#resolve) 配置项实现二级导航,比如 `[{ type: 'component', subType: 'pc' dir: 'src' }]` 会为 `src/xx/index.md` 生成 `/components/pc/xx` 路由,以满足二级导航的路径规则。
104+
5. 资产路由本身不支持嵌套,但我们仍然可以通过 [`resolve.atomDirs[n].subType`](../config/index.md#resolve) 配置项实现二级导航,比如 `[{ type: 'component', subType: 'pc', dir: 'src' }]` 会为 `src/xx/index.md` 生成 `/components/pc/xx` 路由,以满足二级导航的路径规则。
105105

106106
## 菜单归类及生成
107107

0 commit comments

Comments
 (0)