joeldenning / coexisting-vue-microfrontends

A repo showing separate vue apps coexisting as microfrontends with single-spa
http://coexisting-vue-microfrontends.surge.sh/
MIT License
615 stars 143 forks source link

Images from the individual applications doesnt appear #39

Closed pank789 closed 4 years ago

pank789 commented 4 years ago

Hi, When the individual app is invoked the logo/images from that module doesnt load it gives error as it takes the parent path for search and loading.

The same is seen in the sample app as well.

Can you please guide on this.

Thanks

pank789 commented 4 years ago

It gives 404 error and link path.

http://coexisting-vue-microfrontends.surge.sh/app1/js/img/logo.png 404 (Not Found)

joeldenning commented 4 years ago

Resolved in #40. Also this fixed the path for local development bundles - now it is like it says in the readme (http://localhost:8081/js/app.js).

joeldenning commented 4 years ago

I've confirmed the logo is now showing up at http://coexisting-vue-microfrontends.surge.sh/app1 after the deployment caused by #40