home-routing.module.ts
This file outlines the routing for the home component (note this is routing that exists only for children of the home component).
``` import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { HomePage } from './home.page'; const routes: Routes = [ { path: '', component: HomePage } ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule], }) export class HomePageRoutingModule {} ``` home.module.tsThis module should generally be like below
``` import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IonicModule } from '@ionic/angular'; import { HomePageRoutingModule } from './home-routing.module'; import { HomePage } from './home.page'; @NgModule({ imports: [ CommonModule, FormsModule, IonicModule, HomePageRoutingModule ], declarations: [HomePage] }) export class HomePageModule {} ``` home.page.htmlHere is a basic homepage that doesn't accomplish anything
``` home ``` home.page.tsHas any logic that you may need on the home page. Nothing of note for now