代码片段
vue单文件组件片段
{
"Print to console": {
"prefix": "vue",
"body": [
"<template>",
" <div class='$2'>$5</div>",
"</template>",
"",
"<script>",
"export default {",
" data() {",
" return {",
"",
" };",
" },",
// " computed: {},",
// " watch: {},",
// " methods: {",
// "",
// " },",
// " created() {",
// "",
// " },",
// " mounted() {",
// "",
// " },",
// " beforeCreate() {},",
// " beforeMount() {},",
// " beforeUpdate() {},",
// " updated() {},",
// " beforeDestroy() {},",
// " destroyed() {},",
// " activated() {},",
" components: {}",
"}",
"</script>",
"",
"<style lang='scss' scoped>",
"$4",
"</style>"
],
"description": "Log output to console"
}
}