Closed joeldenning closed 4 years ago
See the following links:
https://single-spa.slack.com/archives/CGGUQJMK6/p1596558697206800
https://single-spa.slack.com/archives/CGGUQJMK6/p1596560634215600
https://cli.vuejs.org/guide/html-and-static-assets.html#static-assets-handling
https://cli.vuejs.org/guide/html-and-static-assets.html#the-public-folder
This isn't a problem and already works. We thought it was an issue because set-public-path.js
was not at the top of the entry file.
Vue CLI overrides file-loader's default public path, which makes image urls incorrectly resolve relative to the page instead of relative to the dynamic public path.