mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
In Angular 2 template, always load CSS via ExtractTextPlugin (otherwise you get a bad FOUC when loading server-prerendered page)
This commit is contained in:
@@ -6,8 +6,7 @@ import * as router from 'angular2/router';
|
||||
})
|
||||
@ng.View({
|
||||
template: require('./nav-menu.html'),
|
||||
directives: [router.ROUTER_DIRECTIVES],
|
||||
styles: [require('./nav-menu.css')]
|
||||
directives: [router.ROUTER_DIRECTIVES]
|
||||
})
|
||||
export class NavMenu {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user