Replies: 2 comments 4 replies
-
|
Yes, you can use PnP and module federation, but I don't understand you, sorry your questions is not readable |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
No you can't import the remote entry. Instead import something like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is it possible to import the remoteEntry.js file using Yarn Workspace Concept
I made a sample at https://github.com/LechLee/mf-monorepo-wepback5-vue by converting it from https://github.com/jherr/mf-dog-site
The project contains two app,
I made some changes to import the remote file using yarn workspace at https://github.com/LechLee/mf-monorepo-wepback5-vue/tree/module-federation-without-host
Here is a simple explanation on what i did:
The Yarn Workspace Packages Folder:
packages
dog-detail's webpack.config.js:
home app's App.vue:
However, i'm facing runtime error of Uncaught (in promise) ReferenceError: webpack_require is not defined

Beta Was this translation helpful? Give feedback.
All reactions