Vuejs Snippets Airbnb
Vuejs Snippets for Sublime Text following Airbnb Styleguide
Details
Installs
- Total 19K
- Win 13K
- Mac 3K
- Linux 3K
| Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 2 | 1 | 0 | 0 | 1 |
| Mac | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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