We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just install element-plus on the host and the remote. but the host doesn't show the view what I expected.
the remote's vite.config.ts federation({ filename: "remoteEntry.js", name: "remote", exposes: { "./remote-app": "./src/App.vue", "./AppIndex": "./src/views/AppIndex.vue", }, remotes: {}, shared: { vue: { singleton: true, requiredVersion: dependencies.vue, }, 'element-plus': { singleton: true, requiredVersion: dependencies['element-plus'], }, }, }),
federation({ filename: "remoteEntry.js", name: "remote", exposes: { "./remote-app": "./src/App.vue", "./AppIndex": "./src/views/AppIndex.vue", }, remotes: {}, shared: { vue: { singleton: true, requiredVersion: dependencies.vue, }, 'element-plus': { singleton: true, requiredVersion: dependencies['element-plus'], }, }, }),
The text was updated successfully, but these errors were encountered:
hi @hyelimwu , can you share a basic example of your issue please?
Sorry, something went wrong.
hi @hyelimwu , can you share a basic example of your issue please? https://gitlab.com/hyelimwu55/module-federation-vite-vue3
No branches or pull requests
I just install element-plus on the host and the remote.
but the host doesn't show the view what I expected.
the remote's vite.config.ts
federation({ filename: "remoteEntry.js", name: "remote", exposes: { "./remote-app": "./src/App.vue", "./AppIndex": "./src/views/AppIndex.vue", }, remotes: {}, shared: { vue: { singleton: true, requiredVersion: dependencies.vue, }, 'element-plus': { singleton: true, requiredVersion: dependencies['element-plus'], }, }, }),
The text was updated successfully, but these errors were encountered: