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