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
  • 2 years ago
  • 3 hours ago
  • 9 years ago

Installs

  • Total 182K
  • Win 117K
  • Mac 41K
  • Linux 24K
Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19
Windows 2 10 10 7 14 13 8 6 12 10 5 12 10 5 11 8 8 14 11 11 5 10 20 16 10 15 6 5 24 16 10 11 8 7 5 3 7 6 14 8 11 10 2 10 14 10
Mac 2 2 4 1 6 3 2 3 1 4 3 6 1 1 0 3 3 2 4 4 0 1 5 1 2 3 4 1 3 5 5 6 4 3 1 2 3 4 5 4 2 2 3 2 2 5
Linux 0 1 2 1 2 4 1 3 4 2 1 2 2 2 1 4 2 2 5 4 1 0 1 2 1 2 1 3 2 6 3 6 3 1 0 2 5 2 2 4 4 3 2 3 4 0

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