Angular Expert
v 1.1 (16/07/2019)
v 1.0 (11/06/2019)
v 1.1 (16/07/2019)
v 1.0 (11/06/2019)
{
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node",
"target": "es2015",
}
},
<script type="module" src="…"></script> // Modern JS
<script nomodule src="…"></script> // Legacy JS,
path: '/admin', loadChildren: './admin/admin.module#AdminModule'
path: `/admin`, loadChildren: () =>
import(`./admin/admin.module`).then(m => m.AdminModule)
Builders are functions that implement the logic and behaviour for a task.
ng add @angular/fire
ng run my-app:deploy
Deploy to GitHub pages directly from the Angular CLI
ng add ngx-gh
ng run project:deploy --deployUrl [URL] --baseHref [HREF]
$location => LocationUpgradeModule
https://angular.io/guide/upgrade#using-the-unified-angular-location-service"angularCompilerOptions": {
"enableIvy": true
}
npm -g i @angular/bazel
new bzl-app --collection=@angular/bazel
ng add @angular/bazel
ng serve / ng build --prod
https://angular.io/guide/deprecations
ng update @angular/cli @angular/core
ng update --all --force
yarn add typescript@3.4.5
npm add typescript@3.4.5
Package "ngx-auth-firebaseui" has an incompatible peer dependency to "firebase" (requires "^5.11.1", would install "6.1.1").
ng build / ng build --prod