0

Having issues using leaflet in custom modules. Below are the details

nx: v12 Angular: v12 "@angular-architects/module-federation": "12.2.0"

Have created custom module(map-leaflet-module) which uses leaflet and its plugins like draw, marker cluster...etc.

Used map-leaflet-module in 2 modules featureModule1 and featureModule2. featureModule1 used in shell App and featureModule2 used in MFE app.

Problem is shell and MFE apps creates two different instance and had internal mappings from shell to mfe.

Tried to make map-leaflet-module as shared and singleton but it didn't work.

0 Answers0