This project was generated with Angular CLI version 1.5.0. 12/30/2017
My first Angular app (formerly Angular 2, 4, 5, 6, 7, 8, ...11), I used a template for built it. At first I just simply put my previous site content which is absolutelly not the best practice. I will rewrite it, as soon as I have enough time for it(like as kovariLAB). Similar as I did with the "Angular 2 ~ 2017" page. Currently I use dis website as my personal website and also an Angular playground.
Run ng serve
for a dev server. 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/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.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
DEPRECATED: The 'defaultProject' workspace option has been deprecated. The project to use will be determined from the current working directory.
- 2022-11-19 when run the production build
Warning: C:\src\Angular\pilot\KLHome\node_modules\ng2-pdf-viewer\fesm2015\ng2-pdf-viewer.mjs depends on 'pdfjs-dist/build/pdf'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Fix:
Added to angular.json the proper common js dependencies
"allowedCommonJsDependencies":
[
"ng2-pdf-viewer",
"pdfjs-dist/build/pdf",
"pdfjs-dist/web/pdf_viewer"
]