-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
[Discussion] Shall we add something like Vue2
to vue-demi's export?
#41
Comments
Sounds like a good solution to me. Would you like to make a PR for it? I think we can mark the |
Sure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My use case is to config
ignoredElements
only in Vue 2. Currently we may use:The problem is that when this code is run with Vue 3,
Vue
contains all tree-shakable exports which is not ideal.So shall we add a
Vue2
export from vue-demi so that we can use it like:And in Vue 3 mode we just export
undefined
fromvue-demi
so it doesn't hurt the bundle size.The text was updated successfully, but these errors were encountered: