{
"Print to console": {
"prefix": "v3",
"body": [
"<script setup>",
"import { ref, reactive, onBeforeMount, onMounted, onBeforeUpdate, onUpdated, onBeforeUnmount, onUnmounted} from \"vue\"",
"//组件挂载到节点上之前执行的函数",
"onBeforeMount(()=>{})\n",
"//组件挂载完成后执行的函数",
"onMounted(()=>{})\n",
"//组件更新之前执行的函数",
"onBeforeUpdate(()=>{})\n",
"//组件更新完成之后执行的函数",
"onUpdated(()=>{})\n",
"//组件卸载之前执行的函数",
"onBeforeUnmount(()=>{})\n",
"//组件卸载完成后执行的函数",
"onUnmounted(()=>{})\n",
"</script>\n",
"<template>",
" <div class=\"\"></div>",
"</template>\n",
"<style lang=\"less\" scoped></style>",
"$2"
],
"description": "Log output to console"
}
}