mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Add Angular2Spa template
This commit is contained in:
14
templates/Angular2Spa/ClientApp/components/home/home.ts
Normal file
14
templates/Angular2Spa/ClientApp/components/home/home.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import * as ng from 'angular2/core';
|
||||
import { carouselItems } from '../../data/CarouselItems';
|
||||
import { linkLists } from '../../data/HomepageLinkLists';
|
||||
|
||||
@ng.Component({
|
||||
selector: 'home'
|
||||
})
|
||||
@ng.View({
|
||||
template: require('./home.html')
|
||||
})
|
||||
export class Home {
|
||||
public carouselItems = carouselItems;
|
||||
public linkLists = linkLists;
|
||||
}
|
||||
Reference in New Issue
Block a user