This project was generated with Angular CLI version 11.0.2.
- Install NodeJS (v. 15.2) See https://nodejs.org/en/
- Run command prompt, and write command
npm install -g yarn @angular/cli
- In command prompt, go to cloned git repo
cd <full path>/DGUSLayout
- In cloned folder, run
yarn
- Now, after automatic isntall all packages, can you run
ng serve --open
- After some time, automatically is opened default web browser, with screens
- On now, its done.
- Run command
ng generate component screens/<componentname>
- Its will generate componet file to src/app/screens folder - On second, modify generated component, with .ts suffix - See
l000.component.ts
- Its required addextends
and remove constructor - Insert new page to
src/app/app-routing.module.ts
- Allow screen in
src/app/pages/pages.component.html
- Remove h class - Its all
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.