Put stuff in directory assets
e.g. app/assets
-- it will be simply copied to public
extract html templates in js tree with brunch compiler
Frage
I have an AngularJS project that I moved to brunch recently where all the templates are stored in side the javascript tree.
example:
js/
-- main/
----main.js
----main.html
--sub/
----sub,js
----sub.html
I haven't been able to figure out how to configure Brunch.io to extract the html files from the js tree and publish them under public/
As a workaround I copied the js tree in assets and removed all the js files.
I'd like to keep the templates with the js files if possible.
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow