Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skipRouteLocalization doesn't work. #124

Open
jsanz1209 opened this issue Jun 17, 2022 · 0 comments
Open

skipRouteLocalization doesn't work. #124

jsanz1209 opened this issue Jun 17, 2022 · 0 comments

Comments

@jsanz1209
Copy link

Hi everyone! I'm trying to skip a route location with the parameter skipRouteLocalization inside data object in a specific route, but I'm not getting any result.

This is my routes object definition:

export const routes: Routes = [
{ path: '', redirectTo: 'home', pathMatch: 'full' },
{ path: 'home', loadChildren: () => import('./home/home.module').then(m => m.HomeModule) },
{
path: 'feature',
loadChildren: () => import('./feature/feature.module').then(m => m.FeatureModule),
data: { skipRouteLocalization: true }
}
];

May somebody help me about it?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant