mirror of https://github.com/vapor/docs.git
Replace "Leaf HTML" extension with "Vapor for VS Code"
This commit is contained in:
parent
94d6ebf772
commit
eec64ed3d4
|
|
@ -85,7 +85,7 @@ Hello, #(name)!
|
|||
```
|
||||
|
||||
!!! tip "Consejo"
|
||||
Si estás usando VSCode como tu editor de código, te recomendamos instalar la extensión de Leaf para habilitar el resaltado de sintaxis: [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf).
|
||||
Si estás usando VSCode como tu editor de código, te recomendamos instalar la extensión de Vapor para habilitar el resaltado de sintaxis: [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode).
|
||||
|
||||
Luego, registra una ruta (generalmente en `routes.swift` o en un controlador) para renderizar la vista.
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ Hello, #(name)!
|
|||
```
|
||||
|
||||
!!! tip
|
||||
Se usi VSCode come editor di testo, raccomandiamo di installare l'estensione Leaf per abilitare l'evidenziazione della sintassi: [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf).
|
||||
Se usi VSCode come editor di testo, raccomandiamo di installare l'estensione di Vapor per abilitare l'evidenziazione della sintassi: [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode).
|
||||
|
||||
Quindi, registra una route (di solito fatto in `routes.swift` o un controller) per renderizzare la view.
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ Hello, #(name)!
|
|||
```
|
||||
|
||||
!!! tip
|
||||
もし、コードエディタとして VSCode を使用している場合、シンタックスハイライトを有効にするために、Leaf 拡張機能をインストールすることをお勧めします:[Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf)
|
||||
もし、コードエディタとして VSCode を使用している場合、シンタックスハイライトを有効にするために、Vapor 拡張機能をインストールすることをお勧めします:[Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode)
|
||||
|
||||
次に、View をレンダリングするルートを登録します。(通常は、`routes.swift` やコントローラで行います)
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ Hello, #(name)!
|
|||
```
|
||||
|
||||
!!! tip
|
||||
If you're using VSCode as your code editor, we recommend installing the Leaf extension to enable syntax highlighting: [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf).
|
||||
If you're using VSCode as your code editor, we recommend installing the Vapor extension to enable syntax highlighting: [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode).
|
||||
|
||||
Then, register a route (usually done in `routes.swift` or a controller) to render the view.
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ Hello, #(name)!
|
|||
```
|
||||
|
||||
!!! tip
|
||||
Als je VSCode als code editor gebruikt, raden we aan de Leaf extensie te installeren om syntax highlighting mogelijk te maken: [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf).
|
||||
Als je VSCode als code editor gebruikt, raden we aan de Vapor extensie te installeren om syntax highlighting mogelijk te maken: [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode).
|
||||
|
||||
Registreer dan een route (meestal gedaan in `routes.swift` of een controller) om de view te renderen.
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ Cześć, #(name)!
|
|||
```
|
||||
|
||||
!!! tip
|
||||
Jeśli korzystasz z VSCode, rekomendowane jest zainstalowanie rozszerzenia do Leaf (Podpowiedzi i podkreślanie składni): [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf).
|
||||
Jeśli korzystasz z VSCode, rekomendowane jest zainstalowanie rozszerzenia do Vapor (Podpowiedzi i podkreślanie składni): [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode).
|
||||
|
||||
Następnie: Dodaj ścieżkę (przeważnie w `routes.swift` lub w kontrolerze), żeby wyrenderować widok.
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ Hello, #(name)!
|
|||
```
|
||||
|
||||
!!! tip "建议"
|
||||
如果你正在使用 VSCode 作为代码编辑器,我们推荐安装 [Leaf HTML](https://marketplace.visualstudio.com/items?itemName=Francisco.html-leaf) 扩展,以启用语法高亮功能。
|
||||
如果你正在使用 VSCode 作为代码编辑器,我们推荐安装 [Vapor for VS Code](https://marketplace.visualstudio.com/items?itemName=Vapor.vapor-vscode) 扩展,以启用语法高亮功能。
|
||||
|
||||
然后,注册一个路由(通常在 `routes.swift` 中或一个控制器中完成注册)来渲染视图。
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue