Create initial app to verify toolchain

This commit is contained in:
Matthew Ross 2016-04-20 20:38:22 -04:00
parent cf4617da77
commit 2cb0116f1d
4 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,3 @@
<div>
So it begins...
</div>

12
src/app/app.ts Normal file
View File

@ -0,0 +1,12 @@
import { Component } from 'angular2/core';
import { ROUTER_DIRECTIVES, RouteConfig } from 'angular2/router';
import 'rxjs/Rx'; // Import all of RxJs
@Component({
selector: 'app-component',
directives: [ ROUTER_DIRECTIVES ],
templateUrl: 'app/app.template.html'
})
export class AppComponent {
}

15
src/app/boot.ts Normal file
View File

@ -0,0 +1,15 @@
///<reference path="../../node_modules/angular2/typings/browser.d.ts"/>
import { bootstrap } from 'angular2/platform/browser';
import { ROUTER_PROVIDERS } from 'angular2/router';
import { HTTP_PROVIDERS } from 'angular2/http';
//import { enableProdMode } from 'angular2/core';
import { AppComponent } from './app';
//enableProdMode();
bootstrap(AppComponent, [
ROUTER_PROVIDERS,
HTTP_PROVIDERS ]);

View File

@ -1,8 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Family Recipes</title>
<base href="/web/recipes/dist/">
<title>TaskBoard</title>
<base href="/web/TaskBoard/dist/">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">