Skip to content

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

@builpro

Description

@builpro

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions