Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
silentmantra opened this issue Mar 10, 2024 · 0 comments
Closed

Comments

@silentmantra
Copy link

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 silentmantra reopened this May 8, 2024
@sxzz sxzz transferred this issue from vuejs/core May 31, 2024
@sxzz sxzz closed this as completed in 1410b8c May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant