improve doc

This commit is contained in:
Laptop
2024-10-06 00:46:19 +03:00
committed by GitHub
parent 1f0cb5c8d1
commit dd1db9cbc8

View File

@@ -52,13 +52,13 @@ npm i
go install github.com/a-h/templ/cmd/templ@latest
```
5. Generate code from templates:
*You might need to add go binaries to your PATH (add this line to your .bashrc / .zshrc / whatever)*
```sh
export PATH=${PATH}:`go env GOPATH`/bin
```
5. Generate code from templates:
```sh
templ generate
```