Closed will-hu-0 closed 5 years ago
Oh..
I know how to fix it..
By adding something below into user.routing.ts
import { CartProductsComponent} from "../product/cart-products/cart-products.component";
export const UserRoutes: Routes = [
{
path: 'users',
component: UserComponent,
canActivate: [ AuthGuard ],
children: [
{
path: '',
component: UserAccountComponent,
outlet: 'profileOutlet'
},
{
path: 'cart-items',
component: CartProductsComponent,
outlet: 'profileOutlet'
}
]
}
];
Hi.. It seems that the link for 'My Account/Your cart' and 'My Account /Your wishlist' does not work...
Code looks
It supposes to show cart into
profileOutlet
I suppose.Thanks.