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

https://github.com/rwieruch/react-micro-frontend-example

One approach for a micro frontend in React.
https://github.com/rwieruch/react-micro-frontend-example

babel micro-frontend micro-frontends react reactjs webpack

Last synced: 6 months ago
JSON representation

One approach for a micro frontend in React.

Awesome Lists containing this project

README

          

# react-micro-frontend-example

[![Build Status](https://travis-ci.org/rwieruch/react-micro-frontend-example.svg?branch=master)](https://travis-ci.org/rwieruch/react-micro-frontend-example) [![Slack](https://slack-the-road-to-learn-react.wieruch.com/badge.svg)](https://slack-the-road-to-learn-react.wieruch.com/)

How to transform a React application into a Micro Frontend architecture. [Learn more about it here](https://www.robinwieruch.de/react-micro-frontend). Builds up on top of: [Advanced React with Webpack setup](https://github.com/rwieruch/advanced-react-webpack-babel-setup).

## Installation

- `git clone git@github.com:rwieruch/react-micro-frontend-example.git`
- `cd react-micro-frontend-example`
- `npm install`
- `npm start`
- visit `http://localhost:8080`

## Usage

- `npm run start`
- Micro Frontend 1: `npm run start:programming`
- Micro Frontend 2: `npm run start:installation`