Questions tagged [module-federationnextjs-mfutils]

10 questions
1
vote
0 answers

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 without a problem. When I push my project, I receive an error on…
0
votes
0 answers

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 please suggest how to achieve this. Basically whatever route…
0
votes
0 answers

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 error TypeError: Cannot read properties of…
0
votes
0 answers

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.stack.imgur.com/oJQcu.png) i have tried both vue config's and webpack…
0
votes
0 answers

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 to use Webpack + Next.JS +…
0
votes
0 answers

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/nextjs-mf in their respective next.config.js…
0
votes
0 answers

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, and show an image from my public folder App001 -…
0
votes
1 answer

In Angular 14, using module federation, how do I determine the absolute path of my remote app from within the remote app?

I'm using Angular 14 and module federation. How do I find the absolute path of my remote application from within my remote application? In my remote application, I expose the module using module.exports = withModuleFederationPlugin({ name:…
0
votes
1 answer

How to render Angular Module in nextjs (React App)

I am working to integrate Micro Front End, part of the integration we have to include angular app in nextjs, , So We have injected the angular remoteEntry.js , like below injectScript({ global: 'app', url:…
-1
votes
1 answer

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: searchapp: which is a next.js app that exposes a…