mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 02:57:31 +00:00
Add Angular2Spa template
This commit is contained in:
9
templates/Angular2Spa/ClientApp/boot.ts
Normal file
9
templates/Angular2Spa/ClientApp/boot.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import 'bootstrap/dist/css/bootstrap.css';
|
||||
|
||||
import { bootstrap } from 'angular2/platform/browser';
|
||||
import { FormBuilder } from 'angular2/common';
|
||||
import * as router from 'angular2/router';
|
||||
import { Http, HTTP_PROVIDERS } from 'angular2/http';
|
||||
import { App } from './components/app/app';
|
||||
|
||||
bootstrap(App, [router.ROUTER_BINDINGS, HTTP_PROVIDERS, FormBuilder]);
|
||||
Reference in New Issue
Block a user