set up a first draft of the angular2 scaffold
This commit is contained in:
parent
325b361a15
commit
4fa442e262
7 changed files with 111 additions and 13 deletions
11
app/app.component.ts
Normal file
11
app/app.component.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { Component } from "@angular/core";
|
||||
|
||||
@Component({
|
||||
"selector":"dencode-app",
|
||||
"template": `
|
||||
<h1>dencode.org</h1>
|
||||
`
|
||||
})
|
||||
export class AppComponent {
|
||||
|
||||
}
|
5
app/main.ts
Normal file
5
app/main.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import {bootstrap} from "@angular/platform-browser-dynamic";
|
||||
|
||||
import {AppComponent} from "./app.component";
|
||||
|
||||
bootstrap(AppComponent);
|
Loading…
Add table
Add a link
Reference in a new issue