| Yo | GULP | NPM |
|---|---|---|
| yo scaffolds out a new application, writing your build configuration (e.g Gulpfile) and pulling in relevant build tasks and package manager dependencies (e.g npm) that you might need for your build. | The Build System is used to build, preview and test your project. Gulp and Grunt are two popular options. | The Package Manager is used for dependency management, so that you no longer have to manually download and manage your scripts. npm and Bower are two popular options. |
So this is how I'm feeling:
"Yeoman sounds soooo dreamy...."
Step 1: Choose a Framework
Step 2: Choose a Module Management System
Step 3: Choose JS preprocessor.
Step 4: Choose a CSS preprocessor
Step 5: Choose whether you want a sample app
Step 6: Do you want a router? I don't even know what this is...so I selected none.
All done (dusting hands off). I just knew I was about to become so productive!
But...then things didn't work because I didn't see the part about installing sub-generators and felt really bad for awhile.
After mucking around for awhile, I discovered I needed to install a sub-generator and saw an example of how to run one.
And I was happy again.
Fountain Web App vs. Angular Seed
sub-generators available:
yo --generatorsbut wait a second. Why isn't there one for creating a controller? What happened to the controller?
And...now that I have sub-generators installed, how does the generated code compare to the angular-seed code?
yeoman generator component
angular-seed router component.
Ugh...a little like comparing apples to oranges