ekart/src/app/features/checkout/checkout.routes.ts

22 lines
447 B
TypeScript

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,
},
],
},
];