-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
fix: directive for vue 2.7 #487
Conversation
[unplugin-vue-components:directive] Cannot find render function position. which is always in this last 0.22.7 fix version. I'm work with rollup:
I found the source:
and debug:
|
|
ok, but my project is base rollup & vue2 |
@cczw2010 Try this demo https://github.com/sxzz/vue2-directive-demo |
I'll try. And if possiable ,hope to add this small modification in the next version. |
PR welcome |
We are still getting the error of [unplugin-vue-components:directive] Cannot find render function position. Not sure whats wrong, but still not able to use vuetify directives. vite@3.1.3 Edit: It seems to work if I move the ' const renderStart = getRenderFnStart(ast)' back to the place where it was before this PR was merged. @sxzz was that intentional change and why was it made? |
Could you please open an issue and provide a reproduction? |
Description
In Vue 2.7,
render
is renamed to_sfc_render
.Linked Issues
Additional context