Saturday, 3 September 2016

Getting Started with Material 2:

Getting Started with Material 2:


  1. Prerequisite:
    1. Node must be installed and version will be at least 5.5.0 version.
    2. Npm must be there and version will be at least 3.3.12
    3. Angular-cli must be there and version will be at least 1.0.0-beta.10
  2. To check all these are installed on your local machine
    1. > node -v
    2. > npm -v
    3. > ng -v
  3. To install all these:
    1. Choco install nodejs
    2. From cmd prompt
      1. Npm install -g angular-cli
  4. Now to get angular-cli version 1.0.0 take prashant’s package.json file from docs.
  5. Now it’s time to start with material 2.




And now goto root folder
Npm install -g angular-cli
Npm install
ng init --source-dir app
Ng build
Ng serve (for first time)


For next time
Goto cmd prompt
Npm start


Enjoy Buddy!!!


No comments:

Post a Comment