Vetur offers IntelliSense all over your .vue file.
Vetur offers IntelliSense for html tags & attributes.
Vetur also completes Vue specific attributes such as
Inside template interpolation, such as
:attr="|", Vetur offers completions for
UI Libraries such as Element UI and Onsen UI often include a list of ready-to-use components, and Vetur offers completion for them. Read more at Framework Support.
Vetur offers IntelliSense for CSS properties & values in
Vetur supports IntelliSense for
The IntelliSense should be almost the same to the IntelliSense in
# Module Resolution
Vetur should be able to resolve external modules and provide IntelliSense for them if they have type definitions.
vue packages type definition in its module, so
npm i -S vueor
yarn add vue
import Vue from 'vue'
Vue.should prompt IntelliSense for Vue.
lodash doesn't package type definition with it, but there is
@types/lodash that has type definition for
npm i -S lodashor
yarn add lodash
npm i -D @types/lodashor
yarn add -D @types/lodash
import * as _ from 'lodash'
_.should prompt IntelliSense for lodash.
See also the Frequently Asked Questions (opens new window) for more information on module resolution with regards to path aliases and Single File Components.