Skip to content

knutster/slush-angular2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Slush Generator For Angular 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 60.3%
  • ApacheConf 34.0%
  • JavaScript 3.9%
  • HTML 1.4%
  • TypeScript 0.4%