Visual Studio Code -- 配置vue快捷键
步骤 File --> Preferences --> User Snippets --> 输入vue.json,进入配置
"template": {
"prefix": "vue",
"body": [
"<template>",
" <div></div>",
"<template>",
"<script>",
"export default {",
" data() {",
" return {",
" }",
" }",
"}",
"<script>",
"<style scoped>",
"<style>"
]
}