Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 592 Bytes

File metadata and controls

29 lines (20 loc) · 592 Bytes

Styled Components + MF

This sample shows how to use Styled Components with MF and React SSR.

  • app1: consumes styled-components federated from app2
  • app2: uses styled-components and exposes it to app1

Running Demo

Run yarn to install the dependencies.

To run this demo you will need to open 2 terminals.

# Terminal 1
cd app1
pnpm run start
# Terminal 2
cd app2
pnpm run start

Bellow you can see the port mapping: