vscode-webview-angular icon indicating copy to clipboard operation
vscode-webview-angular copied to clipboard

Hi. I found that routing is not working. Is that the same on your side?

Open SetoKaiba opened this issue 6 years ago • 4 comments

Hi. I found that routing is not working. Is that the same on your side?

SetoKaiba avatar Feb 04 '20 18:02 SetoKaiba

Hi, yes, you're right, routing doesn't work now. Need to check how to fix that.

4gray avatar Feb 13 '20 09:02 4gray

Using the HashLocationStrategy should work: https://angular.io/api/common/HashLocationStrategy#hashlocationstrategy

david-camdzic avatar Aug 27 '20 17:08 david-camdzic

Also lazy loading doesn't seem to work in webview (it's not an angular issue).

I've had to refactor my routes to be non-lazily loaded: { path: '', // loadChildren: () => import('./settings/settings.module').then(m => m.SettingsModule) loadChildren: () => SettingsModule }

david-camdzic avatar Aug 27 '20 17:08 david-camdzic

I have no luck with the router. Did you get it to work?

BenjaminHofstetter avatar Jul 13 '22 06:07 BenjaminHofstetter