An open API service indexing awesome lists of open source software.

https://github.com/roberto/my-micro-frontends-playground

Demo using WebComponents to compose micro frontends.
https://github.com/roberto/my-micro-frontends-playground

micro-frontends react stenciljs webcomponents

Last synced: 9 months ago
JSON representation

Demo using WebComponents to compose micro frontends.

Awesome Lists containing this project

README

          

# My Micro Frontend Playground

Demo using WebComponents to compose apps.

## Running

* `npm install` - run `npm install` for the root folder and each subproject too.
* `npm start` - run `npm start` for each subproject.

## Port by app

* 7000 - cinema app
* 7002 - bff (stubby)
* 7001 - Stenciljs demo
* 7003 - Candy Store app - React wrapped as WebComponent
* 7004 - WebComponent demo
* 7005 - Book seat app - Backbone.Marionette wrapped as webComponent

## Troubleshooting

* [stencil dev server does not allow CORS](https://github.com/ionic-team/stencil-dev-server/pull/27),
try to use a extension like
[CORS Toggle](https://chrome.google.com/webstore/detail/cors-toggle/jioikioepegflmdnbocfhgmpmopmjkim)
* embed react app as web component should not be running in dev mode, issues
with webpack in this scenario.