Closed tvmota closed 4 years ago
FYI, in the next week or so, I'm going to be archiving this repository in favor of the newer and better example at https://github.com/vue-microfrontends/. This will be part of the single-spa@5 release that is forthcoming.
Regarding the error you're experiencing, it is likely not related to vue cli 4. All of the applications in this repo also use vue cli 4.
I don't have the time right now to pull down your repo and debug it. The error indicates that the loading function for app3 is resolving with the webpackJsonp global variable array, instead of with the actual application. Webpack uses webpackJsonp as a way of doing code splits - it might have something to do with that.
vue-cli version
Project options
Vue config
Console log errors
I've cloned the coexisting-vue-microfrontends project, and created a new "module" (app3) with vue-cli v4.x.x, got the settings recommended in the issues here and the application does not render the new module. can you help me? Follow the forked project: https://github.com/tvmota/coexisting-vue-microfrontends
Thank very much.