All Questions
16
questions
0
votes
0
answers
30
views
I frame or module federation is more preferable to setup different applications in one portal through NEXTJS14
I have different small relates application developed by different languages and I want to collect through one portal. I used Nextjs 14 as a host so which one prefer Module Federation, or I frame ...
1
vote
0
answers
63
views
ReferenceError: document is not defined, while loading dynamic component of microfrontend
I'm triying create microfrontend application with next js. I have two next js applications app1 and app2. I'm exposing one component from app1 and trying to consume it in app2.
next.config.js for app1-...
0
votes
0
answers
212
views
Sharing a component that is dependent on a library using nextjs-mf (Module Federation)
I'm currently working on a microfrontend project that I created using nextjs 13 and it uses the https://www.npmjs.com/package/@module-federation/nextjs-mf plugin and am having a bit of difficulty on ...
1
vote
0
answers
178
views
@module-federation/nextjs-mf module federation not working with npm run start and return a bad remoteEntry.js
I setup a next js with module federation here is configs :
package.json:
{
"name": "template-host-app",
"version": "0.1.0",
"private": true,
&...
0
votes
0
answers
135
views
next.js webpack issue after module-federation update to v 7.0.8
i use next.js 12.3.1,
"@next/bundle-analyzer": "^12.3.0",
"@module-federation/nextjs-mf@^6.0.4" update to "@module-federation/nextjs-mf@^7.0.8" .
after yarn ...
0
votes
0
answers
91
views
how to turn off timestamp in next.js module federation remote entry call
I am using next.js with module federations.
modules are defined as header, footer, and the rest of the page.
here header and footer comes from different next.js app using module federation.
and it ...
-1
votes
1
answer
1k
views
Shared module next/router doesn't exist in shared scope default , next js ,@module-federation/nextjs-mf
In my next js turbor repo i have a host app with this next.config.js :
const { NextFederationPlugin } = require("@module-federation/nextjs-mf");
const nextConfig = {
reactStrictMode: true,...
0
votes
0
answers
312
views
Module federation of react app using react router dom in nextjs shell app. The child routes should also work for shell links
I am trying to use "a react child app having react dom router" to be utilised in a nextjs shell application. I want those child routes to be available in nextjs shell links too, Can you ...
0
votes
1
answer
2k
views
Next.js + Module Federation + Turbo repo throws build error: Self-reference dependency has unused export name: This should not happen
I am trying to implement module federation in next.js using Turborepo with 2 nex.js apps
This is how the architecture is set up currently:
Turbo repo as the mono repo.
/apps contains 2 Next.js apps:
...
0
votes
0
answers
720
views
Webpack module federation - Nextjs - error: Cannot read properties of undefined (reading 'call')
I am trying to change the nextjs architecture to micro front-end, i am using the @module-federation/nextjs-mf library, but when i try to load a page from my remote project to my main project i get the ...
0
votes
0
answers
100
views
how to use vite react app in vue js 2 app?
it's my vue.config.js file
it's my webpack.config.js file
I have tried this and getting error,i have also added configs in webpack.config.js but it's not working
(https://i.sstatic.net/oJQcu.png)
i ...
0
votes
0
answers
987
views
Webpack Module Federation + Module Federation For Next.js + Single-spa
I'm trying to use single-spa with Nextjs. The single-spa don't have support for Nextjs for now.
Therefore, based in Building React App with Module Federation and NextJS/React article thats is possible ...
1
vote
0
answers
413
views
I can't use @module-federation/nextjs-mf with cypress on pipeline
I created a micro front end project using Next @module-federation/nextjs-mf. When I run my project locally, I only receive "No ModuleFederationPlugin(s) found". However, my code works ...
0
votes
1
answer
2k
views
How to expose _app.tsx in next.js 13 using module federation
I have two Next.js 13 projects: Homepage and Admin Panel. I want to expose the entire Admin Panel (i.e _app.tsx) and load it inside Homepage. I have configured both projects using @module-federation/...
1
vote
0
answers
709
views
How to serve images inside Remote components using Module Federation and NextJS
I just started to learn about module federations and started to create a POC using NextJs to see the things work.
For this, I created a component that receives a text as a param and prints this text, ...