Need help with generator-angular2?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

chrisdwheatley
258 Stars 42 Forks MIT License 117 Commits 15 Opened issues

Description

A Yeoman Generator to create Angular2 apps right now.

Services available

!
?

Need anything else?

Contributors list

# 47,288
Jekyll
CSS
lightho...
hacker-...
83 commits
# 78,400
Angular
MongoDB
Express
Babel
2 commits
# 3,156
sass-fr...
splash
Socket....
pipelin...
1 commit
# 25,726
Python
Shell
echarts
HTML
1 commit
# 720,555
Shell
Kotlin
HTML
Android
1 commit
# 475,402
JavaScr...
meteor
HTML
1 commit

Generator Angular2

Build Status Join the chat at https://gitter.im/swirlycheetah/generator-angular2

A Yeoman Generator to aid in bootstrapping an Angular2 application using the very latest Angular2 Beta release.

Getting Started

Install both Yeoman and this generator globally.

npm install -g yo generator-angular2

In your desired project folder run the generator.

yo angular2

You'll be prompted to start the server once the generator has finished.

You'll then be able to access the application at

http://localhost:8000
. Serving the application can be configured in the
gulpfile.js
using gulp-webserver options.

To run this server, execute this command in your terminal:

gulp dev

Generated Structure

The structure generated is;

- src
    - index.js
    - index.html
    - {generated-file-name}.js
    - {generated-file-name}.html
- .editorconfig
- .gitignore
- gulpfile.js
- package.json
- readme.md

Developing

All contributions are more than welcome, no matter how large or small.

Clone the repository and

cd
into it

git clone [email protected]:swirlycheetah/generator-angular2.git && cd generator-angular2

Install the project dependencies

npm install

Link the package to use the version you're working on

npm link

Run the tests to ensure no failures

npm test

Submit a pull request with your changes

License

Released under the MIT license: opensource.org/licenses/MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.