/wmfnext-remote-1

Remote project for wmfnext federated app

Primary LanguageTypeScriptApache License 2.0Apache-2.0

wmfnext-remote-1

Remote application for wmfnext-host to showcase wmfnext-shell.

A live example of this application is hosted on Netlify.

Installation

This project use Yarn, to install Yarn:

choco install yarn

For more options to install Yarn, view https://yarnpkg.com/lang/en/docs/install/#windows-stable.

To install the project, open a terminal at the root of the workspace and execute the following command:

yarn install-dev

To ease local development symlinks to shell packages are automatically created at installation.

Start developing

To develop as a remote module:

Open a terminal in VSCode and execute the following command:

yarn dev

To develop in isolation with an application shell:

Open a terminal in VSCode and execute the following command:

yarn dev-local

Publish the application

Push a commit and the application will be automatically deployed on Netlify.

Other commands

build

yarn build

clean

yarn clean

link-pkg

yarn link-pkg

reset

yarn reset