Angular Custom template
A schematic that creates a full custom project with preconfigured :
- Azure msal login workflow,
- Pwa with cache invalidation
- Material custom palette
- Picture with Auth module
- Svg Module
- Api integration with
Interceptor service
- Cache mechanism as
memo-decorator
Installation
- Create a new project
ng new myApp
cd myApp
# !! Make sure in the package.json to set "rxjs": "~6.6.7"
- Include Angular Azure Msal into your application.
ng add @tchitos/angular-generate
# The terminal will prompt and ask you to fill `clientId` and `tenantId`.
- Run the application et voila!
ng serve
Test the schematics locally
- Clone this repository.
git clone https://github.com/aminetchitooss/angular-schematics-startup.git
- Install dependencies
npm install
- Make changes and then run
npm run build
schematics .:ng-add --dry-run=false
License
MIT