@genesislcap/foundation-shell
v14.369.0
Published
Genesis Foundation Shell
Readme
Foundation Shell
foundation-shell provides several exports for Genesis Application development. These include, but are
not limited to:
- App: Top-level App singleton used to manage various aspects of an integrated Genesis Application at runtime.
- importPBCAssets: A PBC import utility that dynamically adds PBCs to an integrated
App.
These are available as subpath exports and should be imported from these to optimise bundling and overall efficiency.
import { App, getApp } from '@genesislcap/foundation-shell/app';
import { importPBCAssets } from '@genesislcap/foundation-shell/pbc';Seed projects like the blank-app-seed will be
pre-integrated with App, meaning that any application created with genx init will be pre-integrated. It is also easy
to retrofit App integration to pre-existing application codebases that wish to benefit from some of the capabilities
it provides.
Please see the App API Docs for more information.
Installation
To enable this module in your application, follow the steps below.
- Add
@genesislcap/foundation-shellas a dependency in yourpackage.jsonfile. Whenever you change the dependencies of your project, ensure you run the$ npm run bootstrapcommand again. You can find more information in the package.json basics page.
{
...
"dependencies": {
...
"@genesislcap/foundation-shell": "latest"
...
},
...
}API Docs
License
Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact Genesis Global for more details.
Licensed components
Genesis low-code platform
