All Questions
Tagged with webpack-module-federation angular
203
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
16
views
Angular microfront end w/ tailwindcss
i use module federation and multirepo in angular, i have a shell, an app (MFE) and a shared-ui
so in my shared-ui i have installed tailwindcss, i have my file tailwind.config.js and a styles.scss ...
0
votes
0
answers
25
views
Error when switching between Angular micro frontends in a project using Module Federation
I am facing an issue with my microfrontend architecture project where I use Module Federation. My project structure is:
Shell (React)
Microfrontend 1 (Next.js)
Microfrontend 2 (Angular)
Microfrontend ...
0
votes
0
answers
40
views
Use TraslateService in standalone components accross Angular microfrontends and Webpack Module Federation
Which is the best way to use the TraslateService (ngx-translate) accross microfrontends in an Angualar application with Webpack Module Federation using standalone components?
I was importing ...
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
53
views
Angular Module federation - how to import and use a shared module from another mf-project
I am using module federation for microfrontends, and in each microfrontend I use atomic architecture. I have a module called atoms that contains and exports many components. I want to use these ...
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
37
views
remote application child route not working - Angular
in microfrontend - i am exposing one module suppose m1 and this m1 have 5 route it's working fine while i am running this child application individually but after integrate as microsite in shell ...
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
88
views
Multiple instances of Microfrontend
I'm curious about something and would like to hear some opinions. Imagine I'm working on a microfrontend architecture using Angular. In this setup, I have a shell and a remote (like a card). Let's say ...
0
votes
0
answers
40
views
How do I communicate between hosted components in a micro frontend system?
I have 2 microfront ends, one hosts component for interacting with a file system (call this MFE_docs), the other interacts with a user record system (call this MFE_recs).
In MFE_docs I am exposing a ...