@vue/server-renderer renderToString generating incorrect src URL for images within a router link #3447
Labels
❗ p4-important
Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
🐞 bug
Something isn't working
scope: ssr
Version
3.0.7
Reproduction link
https://github.com/lukewarlow/vue-server-render-bug
Steps to reproduce
Clone the git repository. Run
npm install
and thennpm run generate
. This will generate a dist/static/index.html file.What is expected?
The generated html file should have two img tags which point to different images. As seen in the source file at src/views/Home.vue.
What is actually happening?
In dist/static/index.html you will be able to see that both the generated img tags have the same src URL.
The text was updated successfully, but these errors were encountered: