반응형
File > Preferences > User Snippets
탐색창에 vue 를 입력하여, vue(Vue) 를 선택
템플릿 추가
"Generate Basic Vue Code":{
"prefix":"vue-start",
"body": [
"<template>\n<div></div>\n</template>\n<script>\n\nexport default{ \n\tname:'',\n\tcomponents:{},\n\tdata(){\n\t\treturn{\n\t\t\tsampleData:''\n\t\t};\n\t},\n\tsetup(){},\n\tcreated(){},\n\tmounted(){},\n\tunmounted(){},\n\tmethods:{}\n}\n</script>"
],
"description": "Generate Basic Vue Code"
}
반응형