- Preparing search index...
- The search index is not available
@j2inn/app
- loadDefault<DefaultType>(scope: string, module: string): (() => Promise<{ default: DefaultType }>)
-
Parameters
-
scope: string
-
module: string
Returns (() => Promise<{ default: DefaultType }>)
-
- (): Promise<{ default: DefaultType }>
-
Returns Promise<{ default: DefaultType }>
Loads the default exported module from some JS with the defined scope and module.
Returns
The loaded component.