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
As template (specially frontend templates) are juste static files that need some other templates in order to be tested in a full application state. Annoying workflow for now is either:
create a full app, and then extract from the app the files that are consistent for doing themself a template package.
or create a project with the dev template already defined, go to the node_modules, rm -rf <test_template>, symlink the one you have locally, do some changes in this node_modules symlinked folder, and trigger manually a tpt dump/tpt configure/tpt replace, anytime you made a change to see the effect on the app.
So we cannot directly go the repo of the dev template, change code and see an automatic livereload of the changed in a testing app.
At some point it would be cool, to have a tpt test CLI that is able to embed the template into a testing app, that also watches the file changes and so trigger the dump, configure, and replace sub tasks in the tested app.
The text was updated successfully, but these errors were encountered:
Ledoux
changed the title
Invent a better framework to dev templates
Invent a better framework to develop templates
Feb 10, 2017
This is for now a big weakness of the framework:
As template (specially frontend templates) are juste static files that need some other templates in order to be tested in a full application state. Annoying workflow for now is either:
So we cannot directly go the repo of the dev template, change code and see an automatic livereload of the changed in a testing app.
At some point it would be cool, to have a
tpt test
CLI that is able to embed the template into a testing app, that also watches the file changes and so trigger the dump, configure, and replace sub tasks in the tested app.The text was updated successfully, but these errors were encountered: