-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8bda88
commit 524c169
Showing
16 changed files
with
247 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- <md-toolbar color="primary"> | ||
Angular Material 2 App | ||
</md-toolbar> | ||
<div style="padding: 10px"> | ||
<button md-button>FLAT</button> | ||
<br/><br/> | ||
<button md-raised-button>RAISED</button> | ||
<br/><br/> | ||
<button md-icon-button> | ||
<md-icon class="md-24">favorite</md-icon> | ||
</button> | ||
<br/><br/> | ||
<button md-fab> | ||
<md-icon class="md-24">add</md-icon> | ||
</button> | ||
<br/><br/> | ||
<button md-mini-fab> | ||
<md-icon class="md-24">add</md-icon> | ||
</button> | ||
<br/><br/> | ||
<button md-raised-button color="primary">PRIMARY</button> | ||
<br/><br/> | ||
<button md-raised-button color="accent">ACCENT</button> | ||
<br/><br/> | ||
<button md-raised-button color="warn">WARN</button> | ||
<br/><br/> | ||
<button md-button disabled>off</button> | ||
<br/><br/> | ||
<button md-raised-button [disabled]="isDisabled">off</button> | ||
<br/><br/> | ||
<button md-mini-fab [disabled]="isDisabled">check circle</button> | ||
<br/><br/> | ||
</div> --> | ||
<h1>TEST</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {Component} from '@angular/core'; | ||
// import {MdToolbar} from '@angular2-material/toolbar'; | ||
// import {MdButton} from '@angular2-material/button'; | ||
|
||
@Component({ | ||
selector: 'material-app', | ||
templateUrl: '/app/app.component.html' | ||
//,directives: [MdToolbar, MdButton] | ||
}) | ||
export class AppComponent {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {bootstrap} from '@angular/platform-browser-dynamic'; | ||
import {AppComponent} from './app.component'; | ||
|
||
bootstrap(AppComponent); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<html> | ||
<head> | ||
<title>Angular Material 2 App</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<!-- <link rel="stylesheet" href="styles.css"> --> | ||
|
||
<!-- 1. Load libraries --> | ||
<!-- Polyfill(s) for older browsers --> | ||
<script src="node_modules/es6-shim/es6-shim.min.js"></script> | ||
|
||
<script src="node_modules/zone.js/dist/zone.js"></script> | ||
<script src="node_modules/reflect-metadata/Reflect.js"></script> | ||
<script src="node_modules/systemjs/dist/system.src.js"></script> | ||
|
||
<!-- 2. Configure SystemJS --> | ||
<script src="systemjs.config.js"></script> | ||
<script> | ||
System.import('app').catch(function(err){ console.error(err); }); | ||
</script> | ||
</head> | ||
|
||
<!-- 3. Display the application --> | ||
<body> | ||
<material-app>Loading the Angular 2 Material App...</material-app> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "example1", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ", | ||
"lite": "lite-server", | ||
"postinstall": "typings install", | ||
"tsc": "tsc", | ||
"tsc:w": "tsc -w", | ||
"typings": "typings" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@angular/common": "^2.0.0-rc.1", | ||
"@angular/compiler": "^2.0.0-rc.1", | ||
"@angular/core": "^2.0.0-rc.1", | ||
"@angular/platform-browser": "^2.0.0-rc.1", | ||
"@angular/platform-browser-dynamic": "^2.0.0-rc.1", | ||
|
||
"@angular2-material/core": "^2.0.0-alpha.4", | ||
"@angular2-material/button": "^2.0.0-alpha.4", | ||
"@angular2-material/card": "^2.0.0-alpha.4", | ||
"@angular2-material/checkbox": "^2.0.0-alpha.4", | ||
"@angular2-material/icon": "^2.0.0-alpha.4", | ||
"@angular2-material/input": "^2.0.0-alpha.4", | ||
"@angular2-material/list": "^2.0.0-alpha.4", | ||
"@angular2-material/progress-bar": "^2.0.0-alpha.4", | ||
"@angular2-material/progress-circle": "^2.0.0-alpha.4", | ||
"@angular2-material/radio": "^2.0.0-alpha.4", | ||
"@angular2-material/sidenav": "^2.0.0-alpha.4", | ||
"@angular2-material/toolbar": "^2.0.0-alpha.4", | ||
|
||
"es6-shim": "^0.35.1", | ||
"reflect-metadata": "^0.1.3", | ||
"rxjs": "^5.0.0-beta.6", | ||
"systemjs": "^0.19.27", | ||
"zone.js": "^0.6.12" | ||
}, | ||
"devDependencies": { | ||
"concurrently": "^2.1.0", | ||
"lite-server": "^2.2.0", | ||
"typescript": "^1.8.10", | ||
"typings": "^0.8.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"sourceMap": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"removeComments": false, | ||
"noImplicitAny": false | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"typings/main", | ||
"typings/main.d.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"ambientDependencies": { | ||
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654", | ||
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438", | ||
"node": "registry:dt/node#4.0.0+20160509154515" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<h1>{{message}}</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import {Component} from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'quick-start-app', | ||
templateUrl: '/app/app.component.html' | ||
}) | ||
export class AppComponent { | ||
message:string = 'Angualr 2 Quick Start'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {bootstrap} from '@angular/platform-browser-dynamic'; | ||
import {AppComponent} from './app.component'; | ||
|
||
bootstrap(AppComponent); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<html> | ||
<head> | ||
<title>Angular 2 Quick Start App</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<!-- 1. Load libraries --> | ||
<!-- Polyfill(s) for older browsers --> | ||
<script src="node_modules/es6-shim/es6-shim.min.js"></script> | ||
|
||
<script src="node_modules/zone.js/dist/zone.js"></script> | ||
<script src="node_modules/reflect-metadata/Reflect.js"></script> | ||
<script src="node_modules/systemjs/dist/system.src.js"></script> | ||
|
||
<!-- 2. Configure SystemJS --> | ||
<script src="systemjs.config.js"></script> | ||
<script> | ||
System.import('app').catch(function(err){ console.error(err); }); | ||
</script> | ||
</head> | ||
|
||
<!-- 3. Display the application --> | ||
<body> | ||
<quick-start-app>Loading the Angular 2 Quick Start App...</quick-start-app> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "quick-start", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ", | ||
"lite": "lite-server", | ||
"postinstall": "typings install", | ||
"tsc": "tsc", | ||
"tsc:w": "tsc -w", | ||
"typings": "typings" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@angular/common": "^2.0.0-rc.1", | ||
"@angular/compiler": "^2.0.0-rc.1", | ||
"@angular/core": "^2.0.0-rc.1", | ||
"@angular/platform-browser": "^2.0.0-rc.1", | ||
"@angular/platform-browser-dynamic": "^2.0.0-rc.1", | ||
|
||
"es6-shim": "^0.35.1", | ||
"reflect-metadata": "^0.1.3", | ||
"rxjs": "^5.0.0-beta.6", | ||
"systemjs": "^0.19.27", | ||
"zone.js": "^0.6.12" | ||
}, | ||
"devDependencies": { | ||
"concurrently": "^2.1.0", | ||
"lite-server": "^2.2.0", | ||
"typescript": "^1.8.10", | ||
"typings": "^0.8.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"sourceMap": false, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"removeComments": false, | ||
"noImplicitAny": false | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"typings/main", | ||
"typings/main.d.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"ambientDependencies": { | ||
"es6-shim": "registry:dt/es6-shim#0.31.2+20160317120654", | ||
"jasmine": "registry:dt/jasmine#2.2.0+20160412134438", | ||
"node": "registry:dt/node#4.0.0+20160509154515" | ||
} | ||
} |