ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vuejs Snippets

Vuejs Snippets for Sublime Text

Details

  • 2021.11.10.21.36.00
  • github.​com
  • github.​com
  • 3 years ago
  • 43 minutes ago
  • 11 years ago

Installs

  • Total 187K
  • Win 120K
  • Mac 42K
  • Linux 25K
Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28
Windows 0 5 5 5 5 4 5 3 4 4 0 5 4 2 2 1 5 8 3 4 5 1 2 1 7 3 5 0 4 8 7 13 8 9 3 4 5 3 7 3 4 3 5 5 2
Mac 0 1 1 2 2 2 2 2 1 2 1 0 0 0 0 0 4 3 1 3 0 0 0 1 2 2 2 1 0 3 2 4 1 3 1 0 0 1 3 2 2 1 0 1 0
Linux 0 1 0 0 1 0 1 0 3 1 1 0 1 1 0 0 0 1 1 0 1 0 0 1 2 1 2 0 1 2 4 0 0 1 1 1 1 1 3 1 1 0 0 2 1

Readme

Source
raw.​githubusercontent.​com

Vue.js Snippets for Sublime Text

Snippets for Sublime Text with the key features of Vue.js

Install

  1. Open packagecontrol.io - (ctrl or ) + + p
  2. Type “Vuejs Snippets
  3. :white_check_mark: Installed!

Snippets

Global:

  • v
  • vue ⇢ Vue instance
  • vued ⇢ Vue directive
  • vuef ⇢ Vue filter
  • vuenexttickVue.nextTick()

Component + Options/Data

  • vuec ⇢ Vue component
  • vueccomputed ⇢ Vue computed props
  • vuecdata ⇢ Vue component data
  • vuecmethods ⇢ Vue component methods
  • vuecmixins ⇢ Vue component mixins
  • vuecprops ⇢ Vue component props
  • vuecwatch ⇢ Vue component watch

Vue Resource

  • vuehtthis.$http()
  • vuehtgetthis.$http.get()
  • vuehtpostthis.$http.post()

Vue Router

  • vuertthis.$route
  • vuertgothis.$route.router.go()

Vuex

  • vuexVuex instance

Directives:

  • v-bind:prop="data"
  • v-elv-el:el-name
  • v-else<div v-else>
  • v-for<div v-for="item in items">
  • v-if<div v-if="">
  • v-link<a v-link="">
  • v-on@evt="callback"
  • v-refv-ref:ref-name

Update

Just Remove and Install again.

License

filipe - WTFPL