Skip to content

jazzysnail/vuejs-snippets-sublime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Vue Snippets for Sublime Text

###Global:

  • v
  • vue - Vue instance
  • vued - Vue directive
  • vuef - Vue filter
  • vuenexttick - Vue.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

  • vueht - this.$http()
  • vuehtget - this.$http.get()
  • vuehtpost - this.$http.post()

###Vue Router

  • vuert - this.$route
  • vuertgo - this.$route.router.go()

###Directives:

  • v-bind - :prop="data"
  • v-el - v-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-ref - v-ref:ref-name

##Update

Just Remove and Install again.

About

Vuejs Snippets for Sublime Text

Resources

Stars

Watchers

Forks

Packages

No packages published