Angular 2 sample with Angular CLI, Angular 2 Material etc
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
e2e
src
.angular-cli.json
.editorconfig
.gitignore
Dockerfile
README.md
karma.conf.js
nginx.conf
package-lock.json
package.json
protractor.conf.js
proxy.conf.json
tsconfig.json
tslint.json

README.md

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.