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

This issue has been tracked since 2022-08-15.

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"

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-10-03
Star Count 199758
Watcher Count 6095
Fork Count 32874
Issue Count 590

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date