Closed jeandat closed 8 years ago
Hi. You need to add pattern
option to module object too. I was able to successfully build such configuration with:
jadeNgtemplates: {
modules: [{
name: 'templates',
pattern: /^app\/.+\/.+\.jade$/
}]
},
(It's probably a bit kludgy, but that's how things work.)
OK. Thanks. It works indeed. My mistake.
Hi, here is my config file.
If I don't install jade-pages-brunch, jade-ngtemplates-brunch work. If I install it, even if their pattern are not colliding, I got an error in jade-ngtemplates-brunch with a file which path is only relevant for jade-pages-brunch.
Here is the error :
Here is the folder structure :
I want index.jade to be compiled in html and all others jade templates to be compiled in javascript as an angular module. So I should obtain :
Thanks