Build an AngularJS webapp using Yeoman

We get the Yeoman working last time.

 

Now, we can use Yeoman to scaffold a AngularJS project. =)

1. Install the angular webapp generator.

npm install -g generator-angular

 

2. Create your project folder. I use eureka in the following example.

mkdir eureka

 

3. Change to the new created directory.

cd eureka

 

4. Scaffold the AngularJS webapp.

yo angular

angular-on-yeoman-1
 

5. Test if your installation is working by starting the grunt server.

grunt server

 

6. Check it out.
angular-on-yeoman-2
 

Done =)

Advertisements

One thought on “Build an AngularJS webapp using Yeoman”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s