mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 18:47:30 +00:00
In Angular2Spa, use angular2-template loader as a step towards AoT compilation. Implements #356
This commit is contained in:
@@ -2,8 +2,8 @@ import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app',
|
||||
template: require('./app.component.html'),
|
||||
styles: [require('./app.component.css')]
|
||||
templateUrl: './app.component.html',
|
||||
styleUrls: ['./app.component.css']
|
||||
})
|
||||
export class AppComponent {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user