core icon indicating copy to clipboard operation
core copied to clipboard

SFC Playground: Import map is reset on page reload / opening from a link

Open silentmantra opened this issue 1 year ago • 0 comments

Vue version

3.4

Link to minimal reproduction

https://play.vuejs.org/#eNp9UsFOwzAM/ZUolw6paw9wKl0lQDvAARDbMZfSeW1Hm0SJuw1N/XeclJaB0G6O33v2s50Tv9M62nfAE57awtQamQXsdCZk3WplkJ1YoVpdNxCyivVsa1TLAlIEQgpZKGnRE9hi5M2C1EVKgkSW1HYhOIJFwbM0noAsuLod5Q4l+eyKLTJWzYJNvQ9CFqyXq7VnpfHgjDzRA6HVTY5AL8Z8J5a4CjEl0vgM5SFHSx22dRntrJI04slpBP82al401uRA8IR5xGF506jDk8+h6SAc80UFxcc/+Z09upzgrwYsmD0IPmGYmxJocAcvV89wpHgCW7XpGmJfAN/AqqZzHgfafSc3ZPuM590++kPVslzb5RFB2nEoZ9Qxe88XnK72cGH0H7vX0Y3XCdnTFoePMG9z/WePA/C7CPUYzFaI2iZxTOf4dD9sZyNlypiiCGw7fzfqQPuiioJPvfovAQvZIQ==

Steps to reproduce

Change the import map to:

{
  "imports": {
    "vue": "https://play.vuejs.org/vue.esm-browser.js",
    "vue/server-renderer": "https://play.vuejs.org/server-renderer.esm-browser.js"
  },
  "scopes": {}
}

Reload the page.

What is expected?

The import should be persistent.

What is actually happening?

The import map is reset back to vue.runtime.esm-browser.js.

System Info

No response

Any additional comments?

No response

silentmantra avatar Mar 10 '24 10:03 silentmantra