First is the path in my app routing module Then the home component Next is the app component Lastly the html for button creation
path in the app.routing.module.ts
{
path: 'about-us',
pathMatch: 'full',
data: { type: '', breadcrumb: '' },
component: AboutUsComponent,
},
Run code snippetHide resultsExpand snippet


Gajendra JangidRank #157 · 14.9K reputationPosted May 11, 2022, 11:22 PM EDT