Should you gitignore _templ.go
files?
#1083
Unanswered
hazemturki
asked this question in
Q&A
Replies: 1 comment
-
Personally I check them into git. Let's say I'm using a library of components that aren't within my current project, I'd not want to have to download the library just to be able to generate the files. That said, if the components are within your own repo then I'd maybe think about not committing them, maybe. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I thought I'd find this on FAQ page but didn't.
Is it a good idea to have devs generate latest versions of
_templ.go
and commit them into the repository?Or gitignore them, and RUN
templ generate
on build step?Beta Was this translation helpful? Give feedback.
All reactions