vscode常用程式碼片段(持續更新)
阿新 • • 發佈:2019-02-06
"Print to console": {
"prefix": "te",
"body": [
"<template>",
" <div></div>",
"</template>",
"",
"<script>",
"export default {",
" data() {",
" return {",
" }" ,
" },",
"",
" components: {},",
"",
" computed: {},",
"",
" mounted: {},",
"",
" methods: {}",
"}",
"",
"</script>",
"<style lang='scss' scoped>" ,
"</style>"
],
"description": "vue-template"
},
"Print to response": {
"prefix": "res",
"body": [
".then(",
" response => {$1}",
")"
],
"description": "vue-template"
}