Moved vcomp snippet to a new home in case I need it for Vue2 projects
This commit is contained in:
parent
0df81cd06e
commit
220e16aa36
36
Packages/User/vue2-component.sublime-snippet
Normal file
36
Packages/User/vue2-component.sublime-snippet
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
<snippet>
|
||||||
|
<content><![CDATA[
|
||||||
|
<template>
|
||||||
|
<div class="v-root"></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// imports go here
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: '${1}',
|
||||||
|
|
||||||
|
props: {},
|
||||||
|
|
||||||
|
data () {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
|
||||||
|
computed: {},
|
||||||
|
|
||||||
|
mounted () {},
|
||||||
|
|
||||||
|
methods: {},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
]]></content>
|
||||||
|
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
|
||||||
|
<tabTrigger>v2comp</tabTrigger>
|
||||||
|
<!-- Optional: Set a scope to limit where the snippet will trigger -->
|
||||||
|
<!-- <scope>text.html.vue</scope> -->
|
||||||
|
</snippet>
|
Loading…
x
Reference in New Issue
Block a user