mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
In Angular2Spa template, use per-component scoped styles. Fixes common config issues like #234.
This commit is contained in:
@@ -2,10 +2,7 @@ import 'angular2-universal-polyfills/browser';
|
||||
import { enableProdMode } from '@angular/core';
|
||||
import { platformUniversalDynamic } from 'angular2-universal';
|
||||
import { AppModule } from './app/app.module';
|
||||
|
||||
// Include styles in the bundle
|
||||
import 'bootstrap';
|
||||
import './styles/site.css';
|
||||
|
||||
// Enable either Hot Module Reloading or production mode
|
||||
const hotModuleReplacement = module['hot'];
|
||||
|
||||
Reference in New Issue
Block a user