Cloned from angular-material-starter
Run ng serve for a dev server. Navigate to http://localhost:8000/. 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 --environment={env} to build for a specific environment
Environments
- test
- dev (default)
- prod
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.
Select a colour palette using the material color tool
To change the theme colour palette, select a $primary colour and $primary-hue, $accent colour and $accent-hue and a $warn colour and $warn-hue and modify theme.scss
By default, this is a light theme, to change to a dark theme, modify the $theme variable to be a mat-dark-theme... in theme.scss
Global styles are in styles.scss
Link colours are custom and can be changed in styles.scss
To change the theme-color, modify the <meta name="theme-color" content="#ffffff"> tag in index.html and the site.webmanifest
To clone this project as a template, modify the project name in the following places
nameelement in package.jsonnameelement in package.jsonprojectsnode and all other references to the project in angular.json- Change the
buildtargets in package.json to reflect your project name in angular.json - Toolbar header in app.component.html
- App spec file, app.component.spec.ts
<title>in index.htmlnameandshort_namein site.webmanifest- This
README
TODO
Client side display of validation messages from the server: validation-handler.directive
Icons are from FontAwesome and loaded via the IconService
Favicon and Manifest icons are from RealFaviconGenerator and are stored in /assets
Png FontAwesome icons generated by FA2PNG