Skip to content

Commit

Permalink
docs: add route code hints
Browse files Browse the repository at this point in the history
  • Loading branch information
markthree committed Oct 8, 2023
1 parent acbe5ef commit 8077d17
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,15 @@ export default defineConfig({
<br />
<br />

### `route` 代码提示 💡

使用
[volar-plugin-vue-router](https://github.com/kingyue737/volar-plugin-vue-router)
可以带来友好的代码提示

<br />
<br />

### 注意

由于布局系统需要在最外层嵌套一层布局路由,所以可能会造成路由表的获取混乱,此时可以用辅助的函数
Expand Down
9 changes: 9 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,15 @@ If you are a `ts` project, you can also configure the following declaration in
<br />
<br />

### `route` Code Hints 💡

使用
[volar-plugin-vue-router](https://github.com/kingyue737/volar-plugin-vue-router)
可以带来友好的代码提示

<br />
<br />

### note

Since the layout system needs to nest a layer of layout routes in the outermost
Expand Down

0 comments on commit 8077d17

Please sign in to comment.