I would like to tell you that angular material2 is now moving from Angular CLI to gulp.
May be that Angular CLI will use the Webpack so it may be the reason that it will be not easy for material to setup using the CLI. They may be back after completing with webpack and the consistencies.
If you want to setup the material2 just simply follow the steps below:
1. The node version should be atleast 5.5.0
2. Install gulp by npm install -g gulp
3. Fork the repo angular Material2
4. Clone the forked repo in your local.
5. Now do the npm install.
6. To build the components type gulp build:devapp (for dev mode), to build the components in the release mode type gulp build:release
7. To run it on the local sever type gulp serve:devapp
8. Now type localhost:4200 in your browser, you will be able to see the components in the browser.
This documentation is created on: 8-sept-2016
It may be overhooked if other releases are out for material or gulp or other dependencies.
Please leave your comments if you feel any suggestions, appreciation or modification in the blog.
May be that Angular CLI will use the Webpack so it may be the reason that it will be not easy for material to setup using the CLI. They may be back after completing with webpack and the consistencies.
If you want to setup the material2 just simply follow the steps below:
1. The node version should be atleast 5.5.0
2. Install gulp by npm install -g gulp
3. Fork the repo angular Material2
4. Clone the forked repo in your local.
5. Now do the npm install.
6. To build the components type gulp build:devapp (for dev mode), to build the components in the release mode type gulp build:release
7. To run it on the local sever type gulp serve:devapp
8. Now type localhost:4200 in your browser, you will be able to see the components in the browser.
This documentation is created on: 8-sept-2016
It may be overhooked if other releases are out for material or gulp or other dependencies.
Please leave your comments if you feel any suggestions, appreciation or modification in the blog.
No comments:
Post a Comment