Skip to content
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

Vue 2 existing project merged to single-spa-vue application => path problems in alias vue.config.js #114

Open
builpro opened this issue Jul 21, 2023 · 0 comments

Comments

@builpro
Copy link

builpro commented Jul 21, 2023

Hi all,

I'm trying to add an existing vue2 project as a single-spa application to my single-spa root.
I followed these steps https://single-spa.js.org/docs/ecosystem-vue and I configured that https://single-spa.js.org/docs/ecosystem-vue#webpack-public-path on my vue.config.js
I tried to fixed by many ways, but I cannot configure properly the application because the urls of external modules in the Vue application have a problem. The vue application mounted well at single-spa root system, the App.vue file runs, but white screen appears because it's not able to mount the js dependencies.

image image image I realized the urls have a js folder twice, I don't know what wrong! xxx/js/js/xxxx image but if I go to the url and delete one '/js' the url works image image

I really appreciate your support!
Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant