49 lines
786 B
XML
49 lines
786 B
XML
<snippet>
|
|
<content><![CDATA[
|
|
<template>
|
|
<div class="v-root">
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { defineComponent, getCurrentInstance, onMounted, onUnmounted, ref } from "vue"
|
|
|
|
export default defineComponent({
|
|
emits: [],
|
|
|
|
props: {},
|
|
|
|
components: {},
|
|
|
|
data() {
|
|
return {}
|
|
},
|
|
|
|
setup(props, {emit}) {
|
|
let _this = getCurrentInstance()
|
|
|
|
onMounted(() => {
|
|
//
|
|
})
|
|
|
|
onUnmounted(() => {
|
|
//
|
|
})
|
|
|
|
return {}
|
|
},
|
|
|
|
computed: {},
|
|
|
|
methods: {},
|
|
})
|
|
</script>
|
|
|
|
]]></content>
|
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
|
<tabTrigger>vcomp</tabTrigger>
|
|
<!-- Optional: Set a scope to limit where the snippet will trigger -->
|
|
<!-- <scope>text.html.vue</scope> -->
|
|
</snippet>
|