Closed asahasrabuddhe closed 2 months ago
You have to run go generate ./...
to generate the templates. It's how the templ lib works.
You have to run
go generate ./...
to generate the templates. It's how the templ lib works.
Thanks. It seems to be working as expected now. I was running go generate
instead of go generate ./...
. I will close this issue.
To Reproduce Steps to reproduce the behavior:
fuego/examples/full-app-gourmet/views/recipe.go
templa.Home
,templa.HomeProps
on line 100,templa.SearchPage
andtempla.SearchProps
on 114 and similar functions below are not defined.Expected behavior The example in question should build without error.
Screenshots