My vue.js configuration is
On follow code, "go definition" does not work with "could not find definition"
<template>
<div>
<button @click="clickEvent"/>
</div>
</template>
<script>
export default {
...
methods: {
clickEvent() {
this.function1()
...
},
function1() {
...
}
}
...
}
</script>
You can try this extension: js-jumper
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.