Replies: 1 comment 15 replies
-
Thats a great idea, and thanks for the other comments! I have been pretty tied up with contract work but will take a proper look at this and your issues maybe this weekend. The general feedback I have had is that the inline templates are good but maybe one step too far to encourage adoption. Tetra is the result of having a lot of ideas. |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
While I really like the idea having templates in visual context next to the code as inline strings, this has a few drawbacks too:
So I would suggest to at least optionally add template loading from file, like:
Maybe it could be a default too: if you don't specify a
template
attribute (with a str), the component looks in the default folder (app/template/app/components e.g.).I can understand if you'd like to stay pure here too, and as I said in the first place, I support the idea of having inline templates. But it would be helpful to at least support external templates too.
Beta Was this translation helpful? Give feedback.
All reactions