Vuejs Snippets Airbnb
Vuejs Snippets for Sublime Text following Airbnb Styleguide
Details
Installs
- Total 19K
- Win 13K
- Mac 3K
- Linux 3K
| Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 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 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 |
| Mac | 0 | 0 | 1 | 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 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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