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?
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?
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.
Basic bash to create angular2 app. As instructed in official website. angular2-app-generator Kindly check this out.
This one looks pretty up-to-date and works: https://github.com/ngx-rocket/generator-ngx-rocket
Still trying them...
The Official tool for scaffolding Angular2 project is Angular-Cli https://github.com/angular/angular-cli
There are few generators for Angular2
Please try them and post some feedback or issues in the github
https://www.npmjs.com/package/generator-angular2 (https://github.com/swirlycheetah/generator-angular2)
https://www.npmjs.com/package/generator-gulp-angular2 (https://github.com/x6doooo/generator-gulp-angular2)
https://github.com/joshuacaron/generator-angular2-gulp-webpack
https://www.npmjs.com/package/slush-angular2
(https://github.com/TheVelourFog/slush-angular2)
Generator for creating Angular2 library or plugin
Angular2 Fullstack generator
Ionic2 generator (Gulp; comes in ES6 and TS varieties)
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.
Check out Angular2 Application Scaffolder. It comes with Gulp, Sass, TypeScript, Karma, Jasmine, Bootstrap... Cheers