Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipelinhares/vuejs-snippets-sublime
Vuejs Snippets for Sublime Text
https://github.com/filipelinhares/vuejs-snippets-sublime
snippets sublime-text vue
Last synced: 21 days ago
JSON representation
Vuejs Snippets for Sublime Text
- Host: GitHub
- URL: https://github.com/filipelinhares/vuejs-snippets-sublime
- Owner: filipelinhares
- License: wtfpl
- Created: 2014-02-11T00:52:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-10T21:36:08.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T11:01:56.981Z (7 months ago)
- Topics: snippets, sublime-text, vue
- Size: 19.5 KB
- Stars: 76
- Watchers: 4
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Vue.js](http://vuejs.org/) Snippets for Sublime Text
Snippets for Sublime Text with the key features of Vue.js## Install
1. Open [packagecontrol.io](packagecontro.io) - (ctrl or ⌘) + ⇧ + p
2. Type "*Vuejs Snippets*"
3. :white_check_mark: Installed!## Snippets
### 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()`### Vuex
- `vuex` ⇢ `Vuex instance`### Directives:
- `v-bind` ⇢ `:prop="data"`
- `v-el` ⇢ `v-el:el-name`
- `v-else` ⇢ ``
- `v-for` ⇢ ``
- `v-if` ⇢ `