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.

War es hilfreich?

Lösung

Put stuff in directory assets e.g. app/assets -- it will be simply copied to public

https://github.com/brunch/brunch/tree/stable/docs#basics

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top