Skip to content

Instantly share code, notes, and snippets.

@alxhub
Created April 6, 2022 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alxhub/66cecc06fac1ae0e5f2b7451132c0a0c to your computer and use it in GitHub Desktop.
Save alxhub/66cecc06fac1ae0e5f2b7451132c0a0c to your computer and use it in GitHub Desktop.
Routing to Standalone Components
export const ROUTES: Route[] = [
  /* ...other routes */
  {
path: 'lazy',
loadComponent: () => import('./lazy.component').then(mod => mod.LazyPageComponent),
},
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment