Created
May 22, 2024 21:01
-
-
Save rakia/098c154a920539daaf0b8375f0aa6ec9 to your computer and use it in GitHub Desktop.
Angular routing: per-route renderMode
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
const routes: Routes = [ | |
{ | |
path: 'route1', | |
component: Route1Component, | |
renderMode: 'stategy1' // renderMode option 1 | |
}, | |
{ | |
path: 'route2', | |
component: Route2Component, | |
renderMode: 'strategy2' // renderMode option 2 | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment