Skip to main content

All Questions

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 ...
Atulpal's user avatar
4 votes
1 answer
695 views

Can't use Vue 2.7 Composition API with WebPack Module Federation?

Hello to everyone here ! We have 2 apps on the exact same version (Vue 2.7.14) which allow us to use Composition API and <script setup> syntaxe in each of the apps. We set up WebPack's ...
Lior CHAMLA's user avatar
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 ...
ysKim's user avatar
  • 16
1 vote
1 answer
2k views

Vue Module Federation: Cannot read properties of undefined (reading 'call')

Hi :) I've got an application written in Vue 2 which has to be splitted into microservices using Webpack Module Federation. I upgraded the dependencies to support Webpack 5, created a Yarn monorepo ...
cmon's user avatar
  • 11
2 votes
0 answers
520 views

Is it possible to mount entire Vue 2 application in React using module federation?

Hello I'm trying to mount Vue 2 app - generated by Vue CLI 5 - which has nothing inside only 2 routes created by CLI tool - my goal is to mount it in my host app which is React 17 app. I'm wondering ...
Verthon's user avatar
  • 3,147
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 ...
user2609694's user avatar
3 votes
0 answers
590 views

Hot Module (HMR) doesnt work when config ModuleFederation, [email protected]

I was looking into Webpack 5 Module federation feature, fortunately, it works in my project, but I have some trouble understanding why my Hot Module Replacement(HMR) does not work, errors: Uncaught ...
null's user avatar
  • 31
0 votes
2 answers
4k views

ScriptExternalLoadError: Loading script failed. [email protected]

We are trying microfrontends with ModuleFederationPlugin from Webpack 5.61.0 . I feel so helpless. I'm using @vue/[email protected]. The vue.config.js which exposes its modules looks like below, const ...
Farhad Nowzari's user avatar
4 votes
1 answer
3k views

How to dynamically access a remote component in vue js with module federation

I am trying to build a vue js 2 microfrontend with module federation. I dont want to use static remote imports via the webpack.config.js like this module.exports = { plugins: [ new ...
unrated's user avatar
  • 272