Demo project illustrating using versioned web components with a centrally shared component library.
⚡ Share, but also take care.
You can visit this demo at wc-version-demo.samples.piral.cloud/.
Install the dependencies:
yarn install
Now run the application:
yarn start
- A simple app shell using
lib-v1
- A micro frontend (mf-one) using the web components from
lib-v1
- A micro frontend (mf-two) using its own version of the web component library (
lib-v2
) - Two versions of the same library,
lib-v1
andlib-v2
Piral and this sample code is released using the MIT license. For more information see the license file.