Skip to content

Latest commit

 

History

History
89 lines (60 loc) · 2.72 KB

README.md

File metadata and controls

89 lines (60 loc) · 2.72 KB

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:

Installation

Install slush-angular2 globally (must have slush installed globally):

npm install -g slush-angular2

Usage

Run the generator and answer its questions:

slush angular2

Now you've got everything you need to get started.

Development

From your new project directory run:

gulp src

Production

Bundle your app and serve it with:

gulp dist

Structure

- 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.

To-do

- Get TypeScript working properly from JSPM.
- More templates to scaffold from:
	- Webpack
	- TypeScript
- Optional Sass. 

Contribute

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.

License

MIT

Bitdeli Badge