-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
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
System is not defined #105
Comments
I think it might be caused by not import systemjs in index.html,try to do like this in the index.html <script src="https://cdn.jsdelivr.net/npm/systemjs/dist/system.js"></script> or you can refer index.html |
something else, i think shared vue is not suit at vue2 and vue3,because there is a big different in vue2 and vue3 |
I forgot one more thing, webpack 3 now supports federation? |
Webpack 3 doesn't support module federation. I’ll try to import system js I’m using Webpack 5 not 3 |
Hi again, I tried to import System both projects but this error appears again.
|
Ok, let's start from the beginning
|
The error has been changed. The new error is;
And also this is my remoteEntry file: https://www.file.io/download/K5FJ5ftkrjmI |
@ruleeeer |
Hi,
I'm trying to use with vue 2 webpack and vue-3 vite js. but after all, the settings is done vite gaves System is not defined error. This is my code.
Vue-2 + Webpack 5
Vue-3 + Vite
in Vue 3 + Vite project I define the component this way
and error is:
line 9:
Thanks for help
The text was updated successfully, but these errors were encountered: