import { Routes } from "@angular/router"; import { Address } from "./address/address"; import { Checkout } from "./checkout"; import { Payment } from "@app/features/checkout/payment/payment"; export const checkoutRoutes: Routes = [ { path: "", component: Checkout, children: [ { path: "address", component: Address, }, { path: "payment", component: Payment, }, ], }, ];