docs-v7 icon indicating copy to clipboard operation
docs-v7 copied to clipboard

Lazy Loading Example

Open NickIliev opened this issue 7 years ago • 4 comments

From @tskweres on June 18, 2018 18:47

It looks like Angular had an update to fix lazy loading modules with aux routes:

https://github.com/angular/angular/pull/23459

Possible to get an example of nativescript-angular tabs with lazy loading?

Copied from original issue: NativeScript/template-tab-navigation-ng#80

NickIliev avatar Jul 09 '18 10:07 NickIliev

This page seems like a reasonable place for this sort of example https://docs.nativescript.org/angular/ui/ng-ui-widgets/tab-view.

tjvantoll avatar Aug 29 '18 13:08 tjvantoll

@tjvantoll the issue on this thread is more about routing and loading the modules

tskweres avatar Aug 29 '18 14:08 tskweres

Thanks @tskweres. Come to think of it, we don’t really discuss lazy loading at all in the docs and we really should.

tjvantoll avatar Aug 29 '18 16:08 tjvantoll

This page seems like a good place to have that discussion: https://docs.nativescript.org/angular/core-concepts/angular-navigation.

tjvantoll avatar Aug 29 '18 16:08 tjvantoll