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

Vuejs Snippets Airbnb

by kavalcante ALL

Vuejs Snippets for Sublime Text following Airbnb Styleguide

Details

  • 2.0.0
  • github.​com
  • 7 years ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 19K
  • Win 13K
  • Mac 3K
  • Linux 3K
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 Apr 18
Windows 0 0 1 1 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 0 0 1 0 0 2 0 0 0 3 0 0 0 2 1
Mac 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 2 0 0 0

Readme

Source
raw.​githubusercontent.​com

Vue.js Snippets for Sublime Text

Snippets for Sublime Text with the key features of Vue.js following Airbnb Styleguide instead Standard Styleguide as the original repo.

Install

  1. Open packagecontrol.io - (ctrl or ) + + p
  2. Type “Vuejs Snippets Airbnnb
  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()

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