mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
21 lines
691 B
TypeScript
21 lines
691 B
TypeScript
import 'bootstrap';
|
|
require('zone.js');
|
|
import 'reflect-metadata';
|
|
import './styles/site.css';
|
|
|
|
|
|
import { bootstrap } from '@angular/platform-browser-dynamic';
|
|
import { FormBuilder } from '@angular/common';
|
|
import * as router from '@angular/router-deprecated';
|
|
import { Http, HTTP_PROVIDERS } from '@angular/http';
|
|
import { App } from './components/app/app';
|
|
|
|
bootstrap(App, [router.ROUTER_PROVIDERS, HTTP_PROVIDERS, FormBuilder]);
|
|
|
|
// Basic hot reloading support. Automatically reloads and restarts the Angular 2 app each time
|
|
// you modify source files. This will not preserve any application state other than the URL.
|
|
declare var module: any;
|
|
if (module.hot) {
|
|
module.hot.accept();
|
|
}
|