Skip to content

Commit

Permalink
update cn doc (#862)
Browse files Browse the repository at this point in the history
update cn doc for pr #858
  • Loading branch information
redsun authored Jul 20, 2023
1 parent 537f1f9 commit cd16003
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/leaf/getting-started.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ VaporApp
Hello, #(name)!
```

!!! tip "建议"
如果你正在使用 VSCode 作为代码编辑器,我们推荐安装 [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf) 扩展,以启用语法高亮功能。

然后,注册一个路由(通常在 `routes.swift` 中或一个控制器中完成注册)来渲染视图。

```swift
Expand Down

0 comments on commit cd16003

Please sign in to comment.