FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

module-federation-examples/styled-components at master · jonthomp/module-federation-examples · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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:


Back | FazBrowse Home | New Git URL