All Questions
Tagged with webpack-module-federation vuejs3
11
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 ...
2
votes
0
answers
1k
views
Vuejs 3 vite with module federation share store between modules
We want to create an application and want to spilt it into modules with the help of module federation.
The idea is that each module can live alone (without the host). For this requirement, we have to ...
0
votes
0
answers
449
views
How to connect Vue3 in Vue2 using module federation?
I'm trying to module federate vue3 remote server on vue2 host server, is this possible?
I've confirmed the opposite is possible.
vue2 in vue3 is working, but vue3 in vue2 is not working
Is there a way ...
2
votes
0
answers
138
views
Vue Microfrontend Lazy Loading Component
Hi I'm creating a new microfrontend app, with different micrfrontends. The hosting one have to load all the other mfes, but i need to load them after the login with the access token generated. I'm ...
1
vote
0
answers
87
views
Is it possible to exposes a Composables Vue 3 .ts file to import in an host
#modulefederation #vuejs
Is it possible to exposes a Composables Vue 3 .ts file to import in an host ?
name: "myMicrofront",
exposes: {
"./myComposable": "./src/...
4
votes
1
answer
2k
views
Sub routes inside the vue3 + vite micro frontend
I am using vue3 + vite and a plugin
@originjs/vite-plugin-federation
to build a micro frontend. One app will be the host and one will be the remote, both will have their own routing. Is there a way ...
0
votes
0
answers
216
views
state management with vue3 module federation error
bootstrap:24 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'call')
at webpack_require (bootstrap:24)
at fn (hot module replacement:61)
at Module../node_modules/quasar/...
17
votes
5
answers
38k
views
Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree
I'm working with the berry version of yarn with modules federation and vue3.
When I run these commands to create the base of the project:
mkdir vue-error
yarn set version stable
yarn plugin import ...
3
votes
1
answer
2k
views
State management with vue3 and webpack module federation
I'm creating an app with MFE with Vuejs3 and webpack 5 module federation. One main app made with Vue will consume other apps (should be framework agnostic) and I need to share State from my Vue shell ...
3
votes
1
answer
2k
views
webpack module federation + vuejs dynamic import()
I'm trying to call some components dynamically depending on the route name.
My components are coming from remotes module federation so i need to keep that structure : import('module/Module') unless ...
1
vote
0
answers
996
views
Vue Module federation child components
I am struggling with webpack module federation plugin and child components.
I forked from vue3-demo which is working as expected. (simple example)
But when I create more complex component which ...