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

350 B

New page

  • ng generate component
  • Go to the component (.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')