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

FunctionDirective is not supported in <script setup> of Vue 2.7 #12743

Closed
sxzz opened this issue Aug 15, 2022 · 0 comments · Fixed by #12744
Closed

FunctionDirective is not supported in <script setup> of Vue 2.7 #12743

sxzz opened this issue Aug 15, 2022 · 0 comments · Fixed by #12744
Labels

Comments

@sxzz
Copy link
Member

sxzz commented Aug 15, 2022

Version

2.7.8

Reproduction link

github.com

Steps to reproduce

  • pnpm i
  • pnpm run dev

What is expected?

No error

What is actually happening?

Emit an error

Error in directive color bind hook: "TypeError: Bind must be called on a function"

@sxzz sxzz changed the title FunctionDirective is not supported in Vue 2.7 FunctionDirective is not supported in <script setup> of Vue 2.7 Aug 15, 2022
JuniorTour added a commit to JuniorTour/vue that referenced this issue Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants