Available yeoman generator for Angular 2

AngularYeoman Generator

Angular Problem Overview


There is the official Angular generator, and many users provided ones for Angular 1. But I haven't found a generator for Angular 2.

Does such a yeoman generator exist already?

Angular Solutions


Solution 1 - Angular

Solution 2 - Angular

Here's what I've gathered so far:

Angular 2 scaffolding

Yeoman generators

generator-angular2

Outdated and very rustic. No preprocessors.

generator-gulp-angular2

Outdated. Out-of-the-box build.dev fails. Features SASS and Jade.

generator-angular2-gulp-webpack

No preprocessors.

Other options

angular-cli (Official generator)

Based on ember-cli, still on alpha stage. No preprocessors. Also, I don't see a way to add preprocessing, except by creating Ember add-ons: http://www.emberaddons.com/.

Angular 2 Seed

Standalone scaffolding. Features Gulp and Webpack. Has instructions on how to install preprocessors. Needs manual Gulp configuration when adding dependencies. All code is written in Typescript.

Angular 2 Seed (ng2-material)

A fork of angular2-seed incorporating Material Design (ng2-material).

Angular 2 Seed - Jade

A fork of angular2-seed incorporating Bootstrap and SASS and Jade preprocessors (by yours truly).

Angular 2 Starter

An Angular 2 Starter kit featuring Angular 2 (Router, Http, Forms, Services, Tests, E2E), Karma, Protractor, Jasmine, TypeScript, and Webpack by @AngularClass.

angular2-sass-gulp-boilerplate

Although it's titled "yeoman generator" it just seems to be standalone scaffolding.

slush-angular2

Generator for Slush.

Solution 3 - Angular

[generator-ng2-webpack][1] [1]: https://github.com/cmelion/generator-ng2-webpack

is kept relatively up to date.

Solution 4 - Angular

Basic bash to create angular2 app. As instructed in official website. angular2-app-generator Kindly check this out.

Solution 5 - Angular

Check out [Angular2 Application Scaffolder][1]. It comes with Gulp, Sass, TypeScript, Karma, Jasmine, Bootstrap... Cheers

[1]: https://www.npmjs.com/package/generator-angular2-application-scaffolder "Angular2 App Scaffolder"

Solution 6 - Angular

The yeoman official tutorial is using generator-fountain-webapp, which supports angular2. It's in v1.0.0 rc at the moment but quite uptodate.

Solution 7 - Angular

Solution 8 - Angular

This one looks pretty up-to-date and works: https://github.com/ngx-rocket/generator-ngx-rocket

Still trying them...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSimon HürlimannView Question on Stackoverflow
Solution 1 - AngularVamsiView Answer on Stackoverflow
Solution 2 - AngularLuxDieView Answer on Stackoverflow
Solution 3 - AngularCharles FulneckyView Answer on Stackoverflow
Solution 4 - AngularxdeepakvView Answer on Stackoverflow
Solution 5 - AngularkfaView Answer on Stackoverflow
Solution 6 - AngularRob LView Answer on Stackoverflow
Solution 7 - AngularhurricaneView Answer on Stackoverflow
Solution 8 - AngularDevin McQueeneyView Answer on Stackoverflow