Creating the HomeComponent

Let's create the first component of our let's get lunch application.

Create the component

We can now set up our first route and direct it to our home component. First, make sure you are in the new lets-get-lunch directory. Then create the component.

ng g component home

Get hands-on with 1400+ tech skills courses.