[英]vscode [ctrl+click] 'vue single-file components', 'go to definition' not working
// src/ui/tabbar/Index.vue
<template>
<div>
my-tabbar
</div>
</template>
// src/ui/index.js
import MyTabbar from './tabbar/Index.vue'
export default {
install(Vue) {
Vue.component(MyTabbar.name, MyTabbar)
}
}
// src/main.js
import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false
Vue.use(ui)
new Vue({
render: (h) => h(App)
}).$mount('#app')
// src/App.vue
<template>
// [ctrl + click] my-tabbar tips no definition found for 'my-tabbar'
<my-tabbar>/<my-tabbar>
</template>
vscode [ctrl+click] 'vue single-file components', 'go to definition' not working vscode [ctrl+click] 'vue 单文件组件','去定义' 不起作用
How can I [ctrl + click] to jump to 'src/ui/tabbar/Index.vue'我如何 [ctrl + click] 跳转到 'src/ui/tabbar/Index.vue'
Can you tell me anything you know?你能告诉我你知道的任何事情吗? thank you!!!
谢谢你!!!
I used vue-helper extension, together with volar .我使用了vue-helper扩展和volar 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.