Skip to content

iamdavidmt/micro-frontend-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro FE example

A very simple micro frontend boilerplate application.

Start from example-root-config.

Run with docker-compose up -d and visit localhost

Things to note.

  • store.js uses the window object to attatch a "global" store to. This allows the other frontends to hook onto and catch/dispatch events.
  • The url's are hard coded atm but should be injected via env variables.
  • There is a production example within the dockerfiles. change the target within the docker-compose to production and rebuild to experiment with.

About

An Example of how to implement SPA Micro frontends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 35.4%
  • JavaScript 24.8%
  • Vue 16.8%
  • Dockerfile 15.8%
  • TypeScript 7.2%