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
import * as leftMenuTemplate from '!raw-loader!./templates/_left-menu.html';
@Component({
selector: 'my-component',
template: `
<aside class="main-sidebar">
<section class="sidebar">${leftMenuTemplate}</section>
</aside>
`
})
everything works fine if I build with "aot": false and "buildOptimizer": false but everything fails if I build with "aot": true and "buildOptimizer": true
When I try to run with AOT true I get the null string rendered instead of my menu.
The text was updated successfully, but these errors were encountered:
Currently in my components I have code like
everything works fine if I build with "aot": false and "buildOptimizer": false but everything fails if I build with "aot": true and "buildOptimizer": true
When I try to run with AOT true I get the null string rendered instead of my menu.
The text was updated successfully, but these errors were encountered: