Skip to content

Commit

Permalink
chore(example): Added minimal example
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Jun 12, 2017
1 parent 441ba7a commit a8ee08f
Show file tree
Hide file tree
Showing 10 changed files with 5,130 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build
lib
**/_bundles
_bundles

# artifacts
Expand Down Expand Up @@ -41,6 +42,7 @@ build/Release

# Dependency directory
node_modules
**/node_modules

# Optional npm cache directory
.npm
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules
tsconfig.json
rollup.config.js
stats.html
examples
1 change: 1 addition & 0 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
run `npm install` then `npm start`
14 changes: 14 additions & 0 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<html>
<head>
<script src="//unpkg.com/angular@1.6.4/angular.js"></script>
<script src="//unpkg.com/reflect-metadata"></script>
<script src="//unpkg.com/zone.js"></script>
</head>
<body>
<!-- the app will fill this ui-view -->
<ui-view></ui-view>

<!-- load webpack bundle in body tag after document.body is ready -->
<script src="_bundles/app.js"></script>
</body>
</html>
Loading

0 comments on commit a8ee08f

Please sign in to comment.