jakipradip1 / angular2-material-sample

Angular 2 sample with Angular CLI, Angular 2 Material etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Material Sample

This demo is based on the original sample, and add more features including Angular Material 2, Covalent UI.

Run in Local development environment

Enter the root folder of this project, execute the following command line.

npm run start

And after it is started, open http://localhost:4200.

Note: You have to set up a backend API server, in this demo, I use https://github.com/hantsy/spring-microservice-sample, follow the README.md of this project to run all backend services via Docker Compose.

Build for production

ng build --env=prod 

or

ng build --prod --aot=false

NOTE: ng build --prod will fail, it requires aot facilities when building the project. There are serveral issues reported about this in angular cli project.

About

Angular 2 sample with Angular CLI, Angular 2 Material etc


Languages

Language:TypeScript 64.2%Language:HTML 31.0%Language:CSS 2.7%Language:JavaScript 1.7%Language:Nginx 0.4%