All Questions
Tagged with webpack-module-federation angular-module-federation
87
questions
1
vote
0
answers
17
views
How to bootstrap the routing, NgRx etc of MFE module from the shell project forcibly using module federation?
I want to bootstrap or initiate the MFE's routing, NgRx and other library instances from the Shell project programatically.
Now I am doing lazy load of modules from shell as below
loadChildren: () =&...
0
votes
0
answers
37
views
How to extract a component from dynamically loaded angular remote module
How to extract the Component from module federation remote module
At present I am having the below code
Remote code:
exposes: {
'./TodoModule': './src/todo/todo.module.ts',
'./...
0
votes
0
answers
21
views
Shared dependencies are still generated in both remote and shell app in @angular-architects/module-federation
Both shell app and remote app has angular_core package in the build bundle, even after adding them in shared: {} webpack config. Is it expected?
Shell app webpack config
'@angular/core': {
...
0
votes
1
answer
32
views
Cannot load multiple modules and components from an Angular microapp
I'm trying to load an Angular remote component in another shell application, but I get:
TypeError: Cannot read properties of undefined (reading 'get') and TypeError: Cannot read properties of ...
0
votes
0
answers
46
views
Getting Error when routing to remote module nested component from shell in angular 17 micro frontend using module federation
im using module federation for angular micro front end with angular V17 projects. im exposing routes from remote module.
for initial routing it is working good, but i have 2 buttons in remote module ...
0
votes
0
answers
30
views
Angular Modular Federation with base-href for remote module in shell
I've 2 remote apps app1and app2 and a shell app myapp, since all the applications will be behind a proxy, each app is distinguished by base-href i.e, /app1,/app2 and /myapp respectively. From app1 ...
0
votes
0
answers
67
views
NX Module Federation: ng-zorro-antd library not shared between host and remote apps
I am working on an NX monorepo setup with Module Federation, and I'm facing an issue with sharing the ng-zorro-antd library between my host and remote applications. Despite configuring the library as ...
0
votes
0
answers
101
views
Angular and Module Federation Navigating From One Remote to Another 'TypeError: Cannot read properties of undefined (reading 'call')'
Using Angular 17.3.4, nx 18.2.4, and Module Federation.
From the Host's home page I am able to navigate to RemoteA. From the home page I am also able to navigate to RemoteB. However, when I try to ...
0
votes
0
answers
57
views
Trying to expose the whole appmodule of the mfe, but also at the same time trying to expose a specific component of that mfe, in angular
Trying to expose the whole appmodule of the mfe, but also at the same time trying to expose a specific component of that mfe, in angular. is this even possible? i have read the modulefederation ...
0
votes
0
answers
29
views
Handle package versioning between remote application in NX monorepo workspace
I'm working in NX monorepo workspace with different remote applications, My shell application is using angular 17 dependency from root package.json. I have a requirement to create new remote ...
0
votes
0
answers
86
views
Webpack Module Execution Error: TypeError: Cannot read properties of undefined (reading 'call')
I have an Angular app that acts as the host and imports a React/Nest.js component using Module Federation. I'm encountering the following error
Error loading or rendering the React component: ...
0
votes
0
answers
103
views
Issue with Transloco Translations Loading in Multirepo Angular Module Federation Setup
Environment:
Angular Version: 17
Transloco Version: 7.1.0
Architecture: Multirepo with Module Federation
I am implementing Transloco in a multirepo setup using Angular's Module Federation. I have ...
0
votes
1
answer
280
views
Angular Native Federation "serve" command doesn't live reload the application
I've been trying to create a POC project to work with the Native Federation in a NX Monorepo, following a DDD approach structure.
The mfe1 application in the project has a dependency to its domain and ...
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 ...
2
votes
0
answers
541
views
How is remoteEntry.js created in module federation/micro frontend?
I'm reading up on module federation/ MFE and it all seems to make sense besides the remoteEntry.js file.
So if I understand this correctly, my MFE:
Creates a remoteEntry.js file which my host then ...