mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
In Angular2Spa, use angular2-template loader as a step towards AoT compilation. Implements #356
This commit is contained in:
@@ -3,7 +3,7 @@ import { Http } from '@angular/http';
|
||||
|
||||
@Component({
|
||||
selector: 'fetchdata',
|
||||
template: require('./fetchdata.component.html')
|
||||
templateUrl: './fetchdata.component.html'
|
||||
})
|
||||
export class FetchDataComponent {
|
||||
public forecasts: WeatherForecast[];
|
||||
|
||||
Reference in New Issue
Block a user