All Questions
Tagged with webpack-module-federation typescript
36
questions
0
votes
0
answers
84
views
Is bidirectional module federation possible between a webpack project and a vite project?
I'm investigating webpack's module federation and the potential for allowing separate teams to choose their own frameworks and still share UI elements on one website. I have set up a number of ...
1
vote
0
answers
57
views
Unable to import federated module into another project
I'm attempting to use Module Federation to share a module from one project (remote app) to another project (host app).
In my remote app, the module is compiled successfully, and I can see the ...
0
votes
1
answer
603
views
Webpack ModuleFederationPlugin and HMR "Cannot set properties of undefined"
Brief
Hello community!
I have been trying Webpack ModuleFederationPlugin with react and typescript in my current POC. So I have 2 applications ChildApp that exposes a module and a HostApp that ...
1
vote
0
answers
65
views
Angular custom event system
Hello guys am facing a problem with sharing data a cross multiple angular applications
shell-Application->home.component.ts:
import { MessageBusService } from 'shared-lib/src/lib/services/message-...
0
votes
1
answer
231
views
Correctly typing components when using module federation and lazy/suspense
When using module federation and lazy loading how can I type a component to get static type checking?
Simple example is importing a Button into the host app from the remote
import {lazy, Suspense} ...
2
votes
0
answers
324
views
ScriptExternalLoadError: Loading script failed. - Module Federation: React + Typescript
I am trying to run basic MF apps using React + Typescript.
used create-mf-app to generate boilerplate-code. On top of it just added only one component Cookie.tsx. Nothing is in there. Just a p tag.
I ...
2
votes
0
answers
292
views
React Vite Module Federation Expose types
I have 3 vite react projects setup currently with module federation and everything is working as it should. The main annoyance is that when using a component in a remote project I get none of the type ...
0
votes
0
answers
120
views
How to use correct tsconfig per subpackage in monorepo bundled with webpack
In my current project, we are have a large Vue 2 frontend set up as a monorepo with lots of subpackages that (roughly) correspond to the views of our app.
- project_folder
|- package.json
|- ...
0
votes
1
answer
825
views
Module federation error - Cannot read properties of undefined reading call
I have created a boilerplate github project where one project exposed a module federation method, and another project consumes it.
See github example
https://github.com/inspiraller/module-federation
...
0
votes
0
answers
240
views
Module Federation Angular Multi-Repo Accessing the API urls in Config.json
if someone can Help me with this Problem.
I am using Module Federation to build Angular Apps.
I have 2 Angular Apps, the ShellApp(Host) and the mfeApp(Remote).
the Remoteapp:
Load the Config.json in ...
0
votes
1
answer
2k
views
Sharing data with module federation
I am trying to build and vue.js, typescript, vite application. I am also using vite-module-federation-plugin for code sharing trough the different applications. I am wondering is there a way to share ...
0
votes
3
answers
6k
views
Microfrontend Module Federation using vite/react/typescript: Cannot find module
I am trying to setup a microfrontend for my project and at base I am using vite to setup my react/typescript applications. I've installed the vite plugin for module federation.
And these are my vite....
2
votes
0
answers
1k
views
Vite.js + TS + Module Federation - not working with basic configuration
I'm using the latest Vite with React 18 and trying to integrate a module federation architecture.
After running application on the server side I got this error:
Warning: React.jsx: type is invalid -- ...
1
vote
1
answer
913
views
Angular dynamic module federation NullInjectorError when importing a standalone component with dependencies
I am trying to create the shell application as a dashboard with no routing, where I display multiple cards and the card content would be the remote (the microfrontend standalone component).
I have ...
0
votes
1
answer
1k
views
router.navigation() is not working in remote-app with module federation in Angular
router.navigate is not working when using the internal routing in the remote-app.
I am using module-federation and trying to use router.navigate in it but somehow when I am trying to use router....