You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by the discussion in #109 I think it would be nice if I could pull in a system template in my ui section.
Assume I have the following ui section in my zapp.yaml file:
ui:
- "index.html"
The generated zapp wont have a zerocloud.js file.
I have to manually extract the file from a zapp and include it in my ui section. This also implies that I have to version control this auto-generated file — something which you normally try to avoid. If the ZeroCloud library changes in the future (perhaps with a bugfix), then I have to notice this and extract it again from a dummy zapp.
The syntax for this could be similar to includes in CPP:
ui:
- "index.html"
- "<zerocloud.js>"
This would mean that leaving out the ui section is equivalent to:
I think the concept of system templates is overly complicated and unnecessary. I would much rather just have defaults which can be generated once and customized. This way we don't need to invent the concept of system templates, nor do we need to invent an "include" syntax.
Inspired by the discussion in #109 I think it would be nice if I could pull in a system template in my
ui
section.Assume I have the following
ui
section in myzapp.yaml
file:The generated zapp wont have a
zerocloud.js
file.I have to manually extract the file from a zapp and include it in my
ui
section. This also implies that I have to version control this auto-generated file — something which you normally try to avoid. If the ZeroCloud library changes in the future (perhaps with a bugfix), then I have to notice this and extract it again from a dummy zapp.The syntax for this could be similar to includes in CPP:
This would mean that leaving out the
ui
section is equivalent to:The text was updated successfully, but these errors were encountered: