|
4 | 4 |
|
5 | 5 | ## Installation |
6 | 6 |
|
7 | | -Open Package Control - (Ctrl or ⌘) + ⇧ + P |
8 | | -Type `Vue Snippets` |
| 7 | +- Open Package Control - (Ctrl or ⌘) + ⇧ + P |
| 8 | +- Type `Vue Snippets` |
9 | 9 |
|
10 | 10 |
|
11 | 11 | ## Snippets |
12 | 12 |
|
13 | 13 | ### Vue |
14 | 14 |
|
15 | | -| Snippet | Purpose | |
16 | | -| ------- | -------------------------- | |
| 15 | +| Snippet | Purpose | |
| 16 | +| --- | --- | |
17 | 17 | | `vbase` | Single file component base | |
18 | 18 |
|
19 | 19 | ### Template |
20 | 20 |
|
21 | | -| Snippet | Purpose | |
22 | | -| ----------------- | ----------------------------------- | |
23 | | -| `vclass` | Class binding | |
24 | | -| `vfor` | v-for directive | |
25 | | -| `vif` | v-if directive | |
26 | | -| `vmodel` | Semantic v-model directive | |
27 | | -| `von` | v-on click handler with arguments | |
28 | | -| `vshow` | v-show directive | |
29 | | -| `vsrc` | Image src binding | |
30 | | -| `vstyle` | Inline style binding | |
| 21 | +| Snippet | Purpose | |
| 22 | +| --- | --- | |
| 23 | +| `vclass` | Class binding | |
| 24 | +| `vfor` | v-for directive | |
| 25 | +| `vif` | v-if directive | |
| 26 | +| `vmodel` | Semantic v-model directive | |
| 27 | +| `von` | v-on click handler with arguments | |
| 28 | +| `vshow` | v-show directive | |
| 29 | +| `vsrc` | Image src binding | |
| 30 | +| `vstyle` | Inline style binding | |
31 | 31 |
|
32 | 32 | ### Script |
33 | 33 |
|
34 | | -| Snippet | Purpose | |
35 | | -| ---------------- | ------------------------------------------------------------------------ | |
36 | | -| `vcomputed` | Vue computed property | |
37 | | -| `vdata` | Component data as a function | |
38 | | -| `vdestroyed` | Vue destroyed | |
39 | | -| `vdirectives` | Vue create a custom directive | |
40 | | -| `vfilter` | Vue filter | |
41 | | -| `vimport` | Import one component into another | |
42 | | -| `vmethods` | Vue methods | |
43 | | -| `vmixin` | Create a Vue Mixin | |
44 | | -| `vmounted` | Vue mounted | |
45 | | -| `vprops` | Props with type and default | |
46 | | -| `vwatch` | Vue watcher with new and old value args | |
| 34 | +| Snippet | Purpose | |
| 35 | +| --- | --- | |
| 36 | +| `vcomputed` | Vue computed property | |
| 37 | +| `vdata` | Component data as a function | |
| 38 | +| `vdestroyed` | Vue destroyed | |
| 39 | +| `vdirectives` | Vue create a custom directive | |
| 40 | +| `vfilter` | Vue filter | |
| 41 | +| `vimport` | Import one component into another | |
| 42 | +| `vmethods` | Vue methods | |
| 43 | +| `vmixin` | Create a Vue Mixin | |
| 44 | +| `vmounted` | Vue mounted | |
| 45 | +| `vprops` | Props with type and default | |
| 46 | +| `vwatch` | Vue watcher with new and old value args | |
47 | 47 |
|
48 | 48 | ### Vuex |
49 | 49 |
|
50 | | -| Snippet | Purpose | |
51 | | -| --------------- | ------------------------------ | |
52 | | -| `vactions` | Vuex Actions | |
53 | | -| `vgetters` | Vuex Getter | |
54 | | -| `vmutations` | Vuex Mutations | |
| 50 | +| Snippet | Purpose | |
| 51 | +| ---| --- | |
| 52 | +| `vactions` | Vuex Actions | |
| 53 | +| `vgetters` | Vuex Getter | |
| 54 | +| `vmutations` | Vuex Mutations | |
55 | 55 |
|
56 | 56 |
|
57 | 57 | ## Thanks |
|
0 commit comments