I'm being told that this isn't working properly as it is right now. I will fix it as soon as I can get to a computer - I'm on vacation though so it may be another week before that happens. I'll merge a working fork if anybody feels like fixing it before then.
Get started with the Angular2 Preview:
What it uses:
Build options:
- Use jspm and traceur.
- TypeScript!
- Or Webpack and Babel.
Install slush-angular2
globally (must have slush installed globally):
npm install -g slush-angular2
Run the generator and answer its questions:
slush angular2
Now you've got everything you need to get started.
From your new project directory run:
gulp src
Bundle your app and serve it with:
gulp dist
- src/
- index.html
- config.js # System configuration.
- index.js # Bootstrap the example component.
- example.js # A basic Angular2 component.
- content/ # Browser assets.
- ts/ # TypeScript files.
- typings/ # TypeScript definitions.
- dist/
- bundle.js # Self-executing bundle of dependencies.
- index.html
- tsconfig.json # TypeScript configuration.
- Get TypeScript working properly from JSPM.
- More templates to scaffold from:
- Webpack
- TypeScript
- Optional Sass.
This is my first published package, so contributions are very welcome. There are no guidelines for contributing. If you find a problem or have a suggestion go ahead and submit an issue.