Skip to main content

All Questions

0 votes
0 answers
172 views

Module federation without using a monorepo?

Currently I am building a micro-frontend to be added to an existing larger application. These 2 applications are hosted on different Github repositories, and the micro-frontend is working well through ...
newcoder00's user avatar
0 votes
0 answers
38 views

Error while sharing the state from mono-repo shell app

I am trying to share state created with zustand from a mono-repo shell application to an external app outside the mono-repo which is also created using monorepo. type Store = { count: number; ...
Kikki's user avatar
  • 505
0 votes
1 answer
507 views

NX-workspace + react + webpack-federation

This might be a dummy question, but i've tried in different ways and i can't figure it out. I created one NX workspace with the following command: npx [email protected] my-workspace --...
Francisco Perestrelo's user avatar
0 votes
0 answers
120 views

How to use correct tsconfig per subpackage in monorepo bundled with webpack

In my current project, we are have a large Vue 2 frontend set up as a monorepo with lots of subpackages that (roughly) correspond to the views of our app. - project_folder |- package.json |- ...
NoBullsh1t's user avatar
1 vote
0 answers
406 views

Nx monorepo with react host and mixed angular and react microfontends (MFE) using module federation

We have an Nx mono repo with a react host app. Not all teams work in this repository, especially some using angular. I've seen StackOverflow Q/A and other articles on importing angular micro-frontends ...
jmcnally's user avatar
0 votes
1 answer
781 views

How to load host application with all it's remotes in NX Monorepo?

To start host with remotes I use --devRemotes option. For example: nx serve my-console --devRemotes=my-assets,my-dashboard Is there a way to serve start my-console with all of it's remotes in "...
Alex Dn's user avatar
  • 5,545
0 votes
3 answers
3k views

CORS issue in micro frontend repo

Context: I'm working in a monorepo, I've setup architecture using NX. I've been trying to build micro frontend apps and I've managed to do so using module federation on local environment. For that ...
Ali Waqar's user avatar
2 votes
0 answers
2k views

Micro Frontend configuration - nx nrwl monorepo

Configuration stack: Angular 13, Module Federation, Nx Monorepo, ngx-build-plus According to: Angular Enterprise book by Manfred Steyer Error: ChunkLoadError: Loading chunk default-...
profiler's user avatar
  • 607
3 votes
4 answers
5k views

How to host assets with Module Federation on Angular and Nx monorepo

I need to make assets (png, svg images, fonts) from Angular remote applications available also in host applications of Webpack Module Federation. Below are long steps to reproduce - not necessary to ...
Kichrum's user avatar
  • 607
6 votes
1 answer
2k views

Are Webpack 5 Module Federation micro frontends and Nx monorepos mutually exclusive?

I'm investigating micro frontend and monorepo architecture for an Angular 12 project. Webpack 5 recently became production ready and with it, Module Federation, Webpack's solution for micro frontends. ...
Kyle Vassella's user avatar