Skip to content

vueCompletion

vueCompletion(components?, nestedSource?): CompletionSource

Defined in: extensions/autocomplete/vue/index.ts:89

Completion source that adds completion for HTML and SVG tags to Vue. When configured, it can also provide completions for specific Vue components.

TagConfig

Used to configure autocompletion for Vue components. This is an object mapping each component’s name to the properties available for that component. To provide completions for events, prefix them with on. E.g. onevent will result in completions for @event and v-on:event. Camel cased props are not converted to kebab case.

CompletionSource

Completion source that will be used whenever the completion isn’t happening inside a tag. Can be used to provide completions for snippets for example.

CompletionSource