How to locate the location of the file defining the event + the specific number of lines of code in vue debugging?

defines click event for a button:

clipboard.png

:

clipboard.png

!! jquery :

clipboard.png

Frameworker listeners jquery

:

clipboard.png

how can vue locate the actual location of the code that defines the event?


there is a browser plug-in called Vue devtool, you can try it.

The

installation is installed directly from the browser's plug-in market, and the project address should be this

.

if you use vue, and bind the click event with the instruction of vue, then the event must be registered by vue, so if you follow the event, you must jump to the vue file. Do you want to jump to the button definition? Then using vue devtool this tool can help you see the state of the component and everything about the component


I don't know what you want to do, can't you just break the time handler?

Menu