Changing vue component snippet to be Vue3 friendly

This commit is contained in:
Brian 2021-09-23 11:22:50 -06:00
parent c861c07fa7
commit 0df81cd06e
Signed by: brian
GPG Key ID: DE1A5390A3B84CD8

View File

@ -5,29 +5,23 @@
</template>
<script>
// imports go here
export default {
name: '${1}',
import { defineComponent } from 'vue'
export default defineComponent({
props: {},
data () {
data() {
return {}
},
computed: {},
mounted () {},
mounted() {},
methods: {},
}
})
</script>
<style lang="scss" scoped>
</style>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>vcomp</tabTrigger>