@dx-samples/one-page-wonder-components
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

wch-components-bundle

Container project to bundle WCH data records and UI components as an npm module. Such a module can then be used as a dependency by single page application projects to populate a tenant with data.

Changes

CHANGELOG

Usage

This library is meant to be used in an Angular based application.

Use as a template

Use this project as a template for custom bundles.

  • Set this as an upstream project, so you can easily consume changes: git remote add upstream git@github.ibm.com:DX-Components/wch-components-bundle.git
  • Pull changes from upstream git pull upstream master

Deploy the application and WCH artifacts

The library bundles the WCH content types, layouts and layout mappings. Deploy these artifacts to WCH, e.g. by using the following command of the CLI:

ibm-wch-sdk-cli application push --data ./data/ --override --aggregated

The --aggregated flag makes sure to not only deploy the application data but also the bundled dependencies.

Note: In order to successfully execute the command make sure to meet me prerequisites mentioned in the documentation of the CLI.

Readme

Keywords

none

Package Sidebar

Install

npm i @dx-samples/one-page-wonder-components

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

192 kB

Total Files

31

Last publish

Collaborators

  • mburati
  • carstenleue
  • sterbling