Features
- Define composable using current filename -
vcomposable:file
/vdcf
- Define pinia stores using current filename
- Define props without typescript -
vprops:js
- Add
vim
alt forvimport
- Add
vtemplate
andvcomponent
alts - Add template
emit()
snippet -vemit
- Add snippets for common event listeners -
von:event
/voe
,von:click
/voc
,von:input
/voi
,von:update
,von:change
,von:blur
,von:focus
,von:submit
- Add snippet for
v-bind="[$props, $attrs]"
-vbind:full
- Add snippet for non-bind attribute in template -
va
- Add
vclass:list
snippet - Add snippet for i18n translation in template -
vvt
(vue variable translation) - Add
vtif
andvdif
snippets for template and div withv-if
- Add Vueuse
vRefAutoReset
- Add VueUse
vwatchImmediate
- Add alts for
vuse:toggle
variants -vut
&vutt
- Add snippet for vueuse import -
vuse:import
/vuim
Changes
- Completely remove Reactivity Transform snippets
- Remove assignment for
vunred
,vreadonnly
,vtoRef
,vtoRefs
- Rename
vemits:ts
tovemits:old
- Rename
vemits:new
tovemits
- Rename
vemits
tovemits:alt
- Remove 2nd argument from
vemit
snippet - Remove default value from
vinject:ts
- Rename
velif
toveif
- Rename previous
vemit
tovemit:pass
- Remove list from
vclass
snippet - Rename class with list to
vclass:list
/vca
- Rename text interpolation snippet from
vti
tovv
(vue variable)
Merges
Full Changelog: v0.6.0...v0.8.0