Changing vue component snippet to be Vue3 friendly
This commit is contained in:
parent
c861c07fa7
commit
0df81cd06e
@ -5,29 +5,23 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// imports go here
|
import { defineComponent } from 'vue'
|
||||||
|
|
||||||
export default {
|
|
||||||
name: '${1}',
|
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {},
|
props: {},
|
||||||
|
|
||||||
data () {
|
data() {
|
||||||
return {}
|
return {}
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {},
|
computed: {},
|
||||||
|
|
||||||
mounted () {},
|
mounted() {},
|
||||||
|
|
||||||
methods: {},
|
methods: {},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
||||||
]]></content>
|
]]></content>
|
||||||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
||||||
<tabTrigger>vcomp</tabTrigger>
|
<tabTrigger>vcomp</tabTrigger>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user