This is a boileplate project with Angular 7, Angular Material, using @ngrx to handle aplication state and lazy loading implementation, you can create your own Angular 8 project with everything ready to focus into coding
This project was generated with Angular CLI version 6.0.8.
You can see this demo here
This project already has angular material design components Angular Material version 6.2.1 with several components
Just import MaterialModule for each lazy module and you could use a lot of angular material components, if you need add a new one just put into this Module also.
This project is using a amb prefix (Angular Material Base) and you should change it to the property prefix for your project.
In the theme.scss you can see curent color palettes, just change primary, accent and warn values to get your own theme
- clone the repo
git clone git@github.com:ryttuo/angular-material-base.git
- go to the project and
npm install
Run ng serve
for a local environment. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.