If I am correct, the task explorer is only there to automate build tasks for you, combined with grunt. Getting NPM, Bower and Grunt are all manual steps you need to do for your project via the command line. After you installed the stuff from Hanselmans blog, you have to start with installing NPM for your project, then you add bower and grunt via NPM. DO the following:
- Open a command line and navigate to your project folder (mine is located in c:\dev\WebProject1)
- on the command line run:
npm init
and fill out the questions (name, description etc.)
- You are now ready to install bower. Install bower via nuget:
npm install bower -g
- and initialize bower for your project (still in the command line), type:
bower init
enter and fill out your project defaults
- finally install your package with bower:
bower install angular --save
When that's done, you can include the generated files in visual studio (package.json and bower.json) and link the files in your index.html page
<script src="/bower_components/angular/angular.js"></script>
The visual studio tools are only ment to edit the bower.json and package.json within visual studio. You then only have to run bower install
to install new or changed packages
If you then want to automate some build tasks you can start with grunt to automate some stuff. Ref:start with Grunt
edit 1:
I came across this post from John Papa. Gets you up and running in a breeze
John Papa: Up and running with NodeJS ....