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

https://github.com/shankscript/microfe

Micro Frontends using WebComponents
https://github.com/shankscript/microfe

Last synced: 12 months ago
JSON representation

Micro Frontends using WebComponents

Awesome Lists containing this project

README

          

# microfe
Micro Frontends using WebComponents

Using web components as a wrapper for both Angular and React components, I am going to show them working alongside each other in a single application. I will also pass data to both components from the parent container, and back again.

Follow the instructions below to build and serve micro-frontend components for Angular and React, and a wrapper application to compose them together and handle communication between them.

## Build and serve Angular component

```sh
cd micro-fe-ng
npm i
npm start
```
[http://localhost:5001/main.js](http://localhost:5001/main.js)

```html

```

## Build and serve React component

```sh
cd micro-fe-react
npm i
npm start
```
[http://localhost:5002](http://localhost:5002)

```html

```

## Build and serve wrapper

```sh
cd micro-fe-wrapper
npm i
npm start
```
[http://localhost:5000](http://localhost:5000)