This extension for Visual Studio Code adds snippets for Vue/Vuex for TypeScript and HTML.
Type part of a snippet, press enter
, and the snippet unfolds.
v-bootstrap // Vue bootstrapping, for main.ts
v-component // Vue component
v-component-http // Vue component containing http get with Axios
v-component-test // Vue sample component test with Mocha
v-test-helper // Vue component test helper
v-routing // Vue routing
v-service // Service class
v-store // Vuex store using vuex-typescript - https://www.npmjs.com/package/vuex-typescript
v-component-store // Vue component using Vuex store from v-store snippet
v-class
v-for
v-if
v-else-if
v-href
v-show
v-model
v-submit
v-click
v-routerView
v-routerLink
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
- Install Visual Studio Code
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) orCmd
-Shift
-P
(OSX) - Select
Install Extension
- Choose the extension
- Reload Visual Studio Code