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

Vuejs Snippets

Vuejs Snippets for Sublime Text

Details

  • 2019.09.17.07.25.44
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 162K
  • Win 104K
  • Mac 37K
  • Linux 21K
Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9
Windows 26 32 31 26 29 34 26 40 35 36 42 39 14 20 32 42 32 37 23 20 20 28 28 33 43 30 27 31 25 41 30 41 44 14 26 32 46 41 39 36 27 25 32 37 35 31
Mac 5 6 12 19 5 4 8 8 12 8 13 14 7 6 8 12 10 7 6 2 3 14 10 13 8 13 5 8 14 9 8 13 5 3 6 7 14 10 19 11 5 8 12 7 9 7
Linux 5 6 15 8 4 7 8 5 6 9 11 7 8 11 10 8 9 3 5 3 7 6 13 7 14 7 4 15 7 12 7 9 7 9 4 8 9 5 7 13 2 8 14 7 13 5

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