This project was generated with Angular CLI version 11.0.7.
Clone the repo git clone https://github.com/AdithyaBhushana/Angular_Demo_Filter.git cd Angular_Demo_Filter Install npm packages Install the npm packages described in the package.json and verify that it works:
npm install npm start The npm start command builds (compiles TypeScript and copies assets) the application into dist/, watches for changes to the source files, and runs lite-server on port 3000.
Shut it down manually with Ctrl-C.
npm scripts These are the most useful commands defined in package.json:
npm start - runs the TypeScript compiler, asset copier, and a server at the same time, all three in "watch mode". npm run build - runs the TypeScript compiler and asset copier once. npm run build:watch - runs the TypeScript compiler and asset copier in "watch mode"; when changes occur to source files, they will be recompiled or copied into dist/. npm run lint - runs tslint on the project files. npm run serve - runs lite-server.
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|guard|interface|enum|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.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.