angular - aot requires "component-relative" template urls? -


aot requires "component-relative" template urls i'm not sure what's meant this. can here provide additional insight on this? here's example of how ng2 app structured:

ng2 => components test-component.ts => templates test.component.html 

the template referenced within component this:

@component({     selector: 'test',     templateurl: '../../ng2/templates/test.component.html' }) 

is example of proper component-relative template url or need change in way in order support aot? if i'm referencing template url in appropriate way what's common scenario in templateurl structure work jit not aot?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -