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

Dev Tools only respect one form of casing for events. #2063

Closed
louiss0 opened this issue May 7, 2023 · 0 comments · Fixed by #2051
Closed

Dev Tools only respect one form of casing for events. #2063

louiss0 opened this issue May 7, 2023 · 0 comments · Fixed by #2051

Comments

@louiss0
Copy link

louiss0 commented May 7, 2023

Vue devtools version

6.5.0

Link to minimal reproduction

https://github.com/louiss0/vue-nested-sfc-test

Steps to reproduce & screenshots

Just start the server. The component is the <HelloWorld /> one all you have to do is just open the dev-tools while starting the server.

What is expected?

I expected this code to work with the dev tools.
defineEmitsWithCamelCase

What is actually happening?

{"_custom":{"display":"⚠️ Not declared","tooltip":"The event count-emitted-with-incremented-value is not declared in the emits option. It will leak into the component's attributes ($attrs)."}}

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i3-1125G4 @ 2.00GHz
    Memory: 719.00 MB / 7.75 GB
  Binaries:
    Node: 18.15.0 - ~\AppData\Local\pnpm\node.EXE
    npm: 9.5.0 - ~\AppData\Local\pnpm\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.64)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    vue: ^3.2.47 => 3.2.47

Any additional comments?

I was testing out vue-nested-sfc when I ran into this problem. It has nothing to do with this issue. I wanted to just experiment that's all. I can't send any screenshots of how the dev tools look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant