Skip to content

A React-only microfrontend created with Webpack Module Federation and Turborepo.

Notifications You must be signed in to change notification settings

iefendiev/microfrontend-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo microfrontend app with monorepo architecture with shared Tailwind configs

This is a sample / practice project and feedbacks are welcomed!

Microfrontend

  • Webpack Module Federation plugin

    This plugin is used with React apps bootstrapped with CRA. App1 & App2 are being consumed by Shell app and details can be found in webpack config files.

Monorepo

  • Turborepo

    It is used for accessing shared configs and UI components from root directory. The main challenge was using this with CRAs and not with Next.js since module transpiling is more difficult with this way.

Styling

  • Tailwind CSS

    It is applied to demonstrate styling a common component such as Button.jsx. Both postcss and tailwind configs can be found in packages/ui directory and other app configs are imported from here. In order to use tailwind for css modules, postcss-loader is added to all webpack config files.

About

A React-only microfrontend created with Webpack Module Federation and Turborepo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published