diff --git a/frontend/setup.md b/frontend/setup.md index 8aae83d..da3a4bc 100644 --- a/frontend/setup.md +++ b/frontend/setup.md @@ -1,2 +1,11 @@ - https://nodejs.org/en - npm install -g @angular/cli + +# 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')