Open macure opened 5 years ago
Same issue here! (Angular 7.1.0)
I also have this error.
This is blocking us to use state transfer in Angular Universal! Need Help please!!
Please try { useHash: false, initialNavigation: false })
https://medium.com/@fessbespalov/enabling-initialnavigation-with-localizerouter-and-angular-universal-8d514f1faad9 I had the same problem and wrote an article when solved, mb it'll help someone :)
sure it does, thanks @vladlensky !
@vladlensky This does not work in my project, when i try try to access directly any page other than the root page, i get a route not found error, do you have a workaround?
I'm submitting a ... (check one with "x")
Description
I'm not sure that this is a bug, or initialNavigation shouldn't be enabled in the first place. If it's not a bug, then I guess, it would be useful for somebody else with similar problem.
"Can not match any routes. URL segment: en/home", when InitialNavigation is enabled. https://angular.io/api/router/ExtraOptions
🔬 Minimal Reproduction (if applicable)
🌍 Your Environment
Angular Version:
Localize Router Version: