You can follow these blog to set up basic microfrontend applications
https://medium.com/nerd-for-tech/micro-front-ends-hands-on-project-63bd3327e162