Vuejs Snippets Airbnb
Vuejs Snippets for Sublime Text following Airbnb Styleguide
Details
Installs
- Total 19K
- Win 13K
- Mac 4K
- Linux 3K
| 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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 |
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
- Open packagecontrol.io - (ctrl or ⌘) + ⇧ + p
- Type “Vuejs Snippets Airbnnb”
- :white_check_mark: Installed!
Snippets
Global:
vvue⇢ Vue instancevued⇢ Vue directivevuef⇢ Vue filtervuenexttick⇢Vue.nextTick()
Component + Options/Data
vuec⇢ Vue componentvueccomputed⇢ Vue computed propsvuecdata⇢ Vue component datavuecmethods⇢ Vue component methodsvuecmixins⇢ Vue component mixinsvuecprops⇢ Vue component propsvuecwatch⇢ Vue component watch
Vue Resource
vueht⇢this.$http()vuehtget⇢this.$http.get()vuehtpost⇢this.$http.post()
Vue Router
vuert⇢this.$routevuertgo⇢this.$route.router.go()
Directives:
v-bind⇢:prop="data"v-el⇢v-el:el-namev-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-ref⇢v-ref:ref-name
Update
Just Remove and Install again.
License
● filipe - WTFPL