chore: track size of a "Hello world" app built with SystemJS

Closes #6621
This commit is contained in:
Pawel Kozlowski
2016-01-20 17:56:00 +01:00
parent 132829e5e2
commit 9c96b8affc
6 changed files with 89 additions and 24 deletions

View File

@ -0,0 +1,11 @@
<!doctype html>
<html>
<title>Angular 2.0 Hello World payload test</title>
<body>
<hello-app>
Loading...
</hello-app>
<script src="app-bundle-deps.min.js"></script>
</body>
</html>

View File

@ -0,0 +1,15 @@
import {Component} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
@Component({
selector: 'hello-app',
template: `
<h1>Hello, {{name}}!</h1>
<label> Say hello to: <input [value]="name" (input)="name = $event.target.value"></label>
`
})
class HelloCmp {
name = 'World';
}
bootstrap(HelloCmp);