Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmijatovic/ng6mat
Angular 6 material starter
https://github.com/dmijatovic/ng6mat
Last synced: 10 days ago
JSON representation
Angular 6 material starter
- Host: GitHub
- URL: https://github.com/dmijatovic/ng6mat
- Owner: dmijatovic
- Created: 2018-04-28T21:15:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T12:07:29.000Z (over 6 years ago)
- Last Synced: 2024-11-13T16:54:10.684Z (2 months ago)
- Language: CSS
- Size: 5.12 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ng6mat
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0.
The goal is to setup angular material and angular cli for an easy starter project with angular material and use scss and custom theme. In addition, I want to test new angular cli commands.
## Branches
- mat-starter: basic starter with material using scss styles. All style assets (fonts and themes) are stored local in the styles folder.
- mat-bs-starter: bootstrap, grid ONLY, added (sass). Only root component, material scss setup and bootstrap grid.
- mat-app-home: extended version containing standard pages usally used in any app
- home: home page. Landing page, just a basic scafold
- error: error pages. This is separate module (by default lazy loaded)
- help: help pages. This is separate module (by default lazy loaded)
- layout: basic layout scafold having: header, body and footer component. This is separate module. The layout is just created but not implemented in this version
- loader: default loaders. This is separate module
- modal: default modal/popup. This is separate module
- dev: development branch for testing new features
- libtest: development branch te test new library command of angular-cli
- master: not used really, except for up to date readme file :-)## Scripts
Folowing scripts are defined in package.json
- `npm start`: runs default angular cli development setup (not used)
- `npm run dev`: runs app in dev mode using dev environement and dev build definitions (see angular.json)
- `npm run prod`: runs app in dev mode using dev environement and dev build definitions (see angular.json)
- `npm run build`: creates production build using production env and definitions (see angular.json)## Environments
Starter project has only two environments and build configurations. These should be further extended per project
- dev: development environment and build. Environement variables are definited in environment.dev.ts file and build switches in angular.json. Dev build has only extract css and sourcemaps set on true.
## Code scaffolding
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`.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).