Available yeoman generator for Angular 2 [closed]

2020-05-11 08:45发布

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?

8条回答
一夜七次
2楼-- · 2020-05-11 09:26

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.

查看更多
等我变得足够好
3楼-- · 2020-05-11 09:29

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

查看更多
The star\"
4楼-- · 2020-05-11 09:29

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

Still trying them...

查看更多
forever°为你锁心
6楼-- · 2020-05-11 09:39

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.

查看更多
我命由我不由天
7楼-- · 2020-05-11 09:40

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

查看更多
登录 后发表回答