This package has been deprecated

Author message:

pre-release module deprecation

@platform/ui.loader
TypeScript icon, indicating that this package has built-in type declarations

0.2.86 • Public • Published

Module License: MIT NPM banner

Bootstrapper for progressively loading UI modules dynamically.

 

Live Demo:

https://loader.platform.uiharness.com

 

 

Setup

yarn add @platform/ui.loader

 

Sample

Sample UI

To run the sample within UIHarness:

yarn start

The UI entry point to start exploring from is at /src/sample/entry.tsx (see uiharness.yml).

 

Sample Server

To bundle and test using @platform/react.ssr ensure you have a .env file in the root of the project with S3 connection details configured within sample.server/ssr.yml

# .env
SPACES_KEY="..."
SPACES_SECRET="..."

ensure node modules are installed within the sample server folder:

cd sample.server
yarn

Bundle, deploy and release:

yarn ssr bundle
# ... follow prompts ...

yarn ssr release
# ... follow prompts ...

Run the production server locally:

yarn watch

For more details on how to operate the SSR server see @platform/react.ssr

 

 

Readme

Keywords

none

Package Sidebar

Install

npm i @platform/ui.loader

Weekly Downloads

3

Version

0.2.86

License

MIT

Unpacked Size

263 kB

Total Files

150

Last publish

Collaborators

  • philcockfield