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

feat(playground): record vue version in url query #7260

Closed
wants to merge 4 commits into from

Conversation

qmhc
Copy link

@qmhc qmhc commented Dec 1, 2022

When we use sfc playground, the selected vue version will be reset after we refresh the page or share the url.

This change ships the selected vue version in url query, and will parse and use it when sfc playground first load.

@qmhc qmhc requested a review from sxzz December 2, 2022 01:39
Copy link

@PraveenNanda124 PraveenNanda124 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work

@pikax
Copy link
Member

pikax commented Oct 25, 2023

I think having always the latest is recommended, I think you would want the version pinned if you changed or pinned the version.

Otherwise might be causing issues when posting errors on vue, since the maintainer might not notice the older version.

@qmhc
Copy link
Author

qmhc commented Oct 25, 2023

@pikax Yes, it will use the latest commit by default.

@skirtles-code
Copy link
Contributor

I believe something equivalent to this feature is now available in the latest Playground. It seems to have been introduced in various stages, but it looks like commit 9e529f8 is the point where the feature was completed.

@yyx990803 yyx990803 closed this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Rejected
Development

Successfully merging this pull request may close these issues.

7 participants