Angular Basic Routing

Firstly, create a new angular project named angular-basic-routing

And then create a new folder called components

a

Next generate 4 components namely login, signup, homepage, landingpage

And then make a new file called app.module.ts before putting the contents needed on it such as imports, routes and other more.

Also, don’t forget to remove every standalone and imports on each component

Make sure that you also have the following in here in your main.ts file

Lastly, don’t forget to update your app.component.html file to show the contents in the local host.

Github link = TheLastWeaboo/AngularBasicRouting (github.com)