Skip to content

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

Closed
@louiss0

Description

@louiss0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions