AltitudeWeb/frontend/setup.md

12 lines
350 B
Markdown
Raw Normal View History

2025-04-02 17:18:39 +00:00
- https://nodejs.org/en
- npm install -g @angular/cli
# New page
- ng generate component <name>
- Go to the component (<name>.component.ts)
- add standalone: false to the @Component
- remove imports: [] from that same block
- Go to app.module.ts and add the new page in declaration
- Add the new file to routes and give it a path (like 'new_page')