Create initial app to verify toolchain
This commit is contained in:
parent
cf4617da77
commit
2cb0116f1d
3
src/app/app.template.html
Normal file
3
src/app/app.template.html
Normal file
@ -0,0 +1,3 @@
|
||||
<div>
|
||||
So it begins...
|
||||
</div>
|
12
src/app/app.ts
Normal file
12
src/app/app.ts
Normal 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
15
src/app/boot.ts
Normal 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 ]);
|
||||
|
@ -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">
|
||||
|
Reference in New Issue
Block a user