AltitudeWeb/frontend/setup.md
Teriuihi a5ef610a09 Add instructions for creating a new Angular component
Expanded setup guidelines with steps to generate a new component in Angular. Detailed instructions include modifications to the component, app module, and routes for proper integration.
2025-04-05 18:29:42 +02:00

12 lines
350 B
Markdown

- 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')