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

Add version information to the return value of createapp #1449

Closed
tolking opened this issue Jun 26, 2020 · 0 comments
Closed

Add version information to the return value of createapp #1449

tolking opened this issue Jun 26, 2020 · 0 comments

Comments

@tolking
Copy link
Contributor

tolking commented Jun 26, 2020

What problem does this feature solve?

Provide version for PlugIn like V2, Better handling of compatibility

import { createApp } from 'vue'

const app = createApp(App)
console.log(app.version) // undefined

app
  .use(PlugIn)
  .mount('#app')

What does the proposed API look like?

const app = createApp(App)
console.log(app.version) // '3.0.0-beta.15'
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant