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

This issue has been created 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-09-27
Star Count 199644
Watcher Count 6098
Fork Count 32848
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Replace @babel/polyfill with core-js 2 2021-10-24 2022-08-20
Supporting all subdirectories in paths 3 2021-04-27 2022-07-22
v1.4.22.0 not working on Notepad++ v8.2 (64bit) 4 2022-02-02 2022-09-12
Zero-level numbering for books with parts 1 2022-01-06 2022-09-21
rav.CRITICAL: Cannot load blueprint blueprints://flex-objects/pages.yaml: Failed to read pages: The YAML value does not appear to be valid UTF-8. - Trace: 0 2021-09-02 2022-09-22
canot convert yolov5s.wts to yolov5s.engine ? 4 2022-03-02 2022-09-09
Is there a way to remove all duplicate files by file type? 2 2021-05-31 2022-09-17
Feature request: Azure AD integration 1 2022-01-27 2022-09-02
WalletConnect: Support for Multiple Contract Invocations on a single transaction 3 2021-11-17 2022-09-19
Setting maxRadiusCircle breaks some draw functionalities 4 2021-09-08 2022-09-19
tcp隧道 ssh连接半天耗750GB流量 4 2021-11-15 2022-09-03
An option to enable horizontal wrapping when using a pager 2 2020-12-25 2022-09-26
tanzu-capabilities-manager-clusterrolebinding being invalid 2 2022-06-16 2022-08-29
EssentialsX 2.19 doesnt update items.json 2 2021-07-21 2022-09-23
Icons are corrupted when using the Material theme 1 2022-03-11 2022-09-18
How to make one item take up multiple columns? 2 2022-02-18 2022-07-21
Explanation file 1 2021-09-27 2021-12-21
Support for Razer BlackWidow V3 Pro [1532:025A] 1 2021-10-02 2022-09-03
encrypt wallets table->balance 1 2021-04-06 2022-08-21
ui issue in customer order view page in blisss theme in mobile view 2 2022-01-20 2022-08-06
Android Battery Status Extension 2 2021-01-07 2022-09-26
plugin/secondary: Support retrying configuration for retrieval of failed `secondary` records 7 2022-01-12 2022-09-23
TypeScript doc page not returned by search 3 2021-09-10 2022-09-19
Strapi v4 - Rest API set publicationState 1 2022-01-02 2022-07-24
Export to CSV with CSV injection in C# code - Issue with (-) index 1 2022-08-25 2022-09-26
consider adding MVP docs and or links to dockerhub 4 2021-03-26 2022-09-12
wrong degrees of freedom for multilevel correlation? 4 2021-02-05 2022-09-04
Thread getting stuck for more than 10 minutes during login 10 2020-09-24 2022-09-12
mycli data display problem 3 2021-12-14 2022-07-22
[email protected] version not fetch global api ? 25 2022-06-23 2022-09-10
Improve token detection (v2) 0 2022-02-10 2022-07-02
Sidebar help and feedback links only open once 3 2022-05-17 2022-08-06
GROUP BY clause doesn't accept column aliases 3 2021-12-28 2022-09-12
bosh create-env does not support https+git release urls 2 2019-02-22 2022-09-16
我的husky不能执行,我不知道为什么? 3 2022-03-07 2022-09-21
USB Keyboard no longer sends keystrokes after windows machine go to sleep 8 2022-05-07 2022-09-21
MP Fault Tolerance annotations at the class level of a Rest Client interface are ignored 3 2022-01-16 2022-01-18
deploy eb package from folder (instead of requiring a zip file as an input) 4 2020-02-27 2022-09-26
Is it possible to use Lambda Layers with references to .dll files? 2 2020-03-10 2022-09-25
Bump to xamarin/Java.Interop/[email protected] 5 2021-12-07 2022-08-26
Bug: ImageMagickHandler throws exception without imagick extension 12 2022-07-26 2022-09-25
Add support for MSVC 14.X to cygwinccompiler 6 2020-09-02 2022-09-20
Company-internal area of package share - Add Private Sharing doesn't work. Domain: dev.day.com is gone. Thus, customers are unable to upload & share packages via Package Share 1 2020-05-14 2022-01-26
Cannot instance folders under scripts 2 2020-03-05 2022-01-10
Cannot build, autoreconf -iv fails 2 2021-01-19 2022-09-20
Connection establishing prinout 3 2020-08-24 2022-08-27
Inconsistent formatting for long dictionary ternaries 0 2022-04-01 2022-09-12
[restrict-template-expressions] unexpectedly slow 2 2021-12-06 2022-09-24
Does Cronet support HTTP/3 (strict UDP transport)? 1 2020-03-25 2022-09-19
Snap install doesn't seem to work 1 2019-07-26 2022-08-23