This extension contains code snippets for vue/weex
- Open the Command Pallete (Ctrl + Shift + P or Cmd + Shift + P) and type
ext install weex
. - Activate the extension from the extensions panel
- Associate your '.vue' and '.we' files with the weex extension by adding this to your settings.json:
"files.associations": {
"*.vue": "weex",
"*.we": "weex"
}
- vuejs (.vue)
- weex (.we)
Below is a list of all available snippets and the triggers of each one. The ⇥ means the TAB
key.
vuejs: https://github.com/vuejs/vue
weex: https://github.com/alibaba/weex
vue-syntax: https://github.com/vuejs/vue-syntax-highlight
html-snippets: https://github.com/abusaidm/html-snippets
javacript: https://github.com/xabikos/vscode-javascript
https://github.com/jaylinwang/vscode-weex
Enjoy!