- Angular CLI version 11.1.2.
- NodeJS: v12.19.0
- Angular: v11.2.1
- Install packages:
cd vlaunch/
npm install
npm install --also=dev
- Config environments
cd vlaunch/
vi /src/environments/environment.prod.ts
vi /src/environments/environment.ts
- Generate a new component
cd vlaunch/
ng generate component <component-name>
ng generate directive|pipe|service|class|guard|interface|enum|module
cd vlaunch/
ng serve
ng serve --port <Your port>
- Build
cd vlaunch/
ng build
- Deploy
cd bash/prod
bash deploy_web.sh