NativeScript / docs-v7

Documentation, API reference, and code snippets for NativeScript
https://docs.nativescript.org
Apache License 2.0
446 stars 460 forks source link

Lazy Loading Example #1253

Open NickIliev opened 5 years ago

NickIliev commented 5 years ago

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

tjvantoll commented 5 years ago

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

tskweres commented 5 years ago

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

tjvantoll commented 5 years ago

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

tjvantoll commented 5 years ago

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