Created
April 6, 2022 19:33
-
-
Save alxhub/66cecc06fac1ae0e5f2b7451132c0a0c to your computer and use it in GitHub Desktop.
Routing to Standalone Components
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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