Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions snippets/vue.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@
"Vue Single File Component Composition API": {
"prefix": "vbase-3",
"body": [
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<script>",
"export default {",
"\tsetup () {",
Expand All @@ -184,7 +178,13 @@
"}",
"</script>",
"",
"<style lang=\"scss\" scoped>",
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<style scoped lang=\"scss\">",
"",
"</style>"
],
Expand All @@ -193,17 +193,17 @@
"Vue Single File Component Setup Composition API": {
"prefix": "vbase-3-setup",
"body": [
"<script setup>",
"",
"</script>",
"",
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<script setup>",
"",
"</script>",
"",
"<style lang=\"scss\" scoped>",
"<style scoped lang=\"scss\">",
"",
"</style>"
],
Expand All @@ -212,12 +212,6 @@
"Vue Single File Component Composition API Reactive": {
"prefix": "vbase-3-reactive",
"body": [
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<script>",
"import { reactive, toRefs } from 'vue'",
"",
Expand All @@ -234,7 +228,13 @@
"}",
"</script>",
"",
"<style lang=\"scss\" scoped>",
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<style scoped lang=\"scss\">",
"",
"</style>"
],
Expand All @@ -243,12 +243,6 @@
"Vue Single File Component Composition API with Typescript": {
"prefix": "vbase-3-ts",
"body": [
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<script lang=\"ts\">",
"import { defineComponent } from 'vue'",
"",
Expand All @@ -260,6 +254,12 @@
"})",
"</script>",
"",
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<style scoped>",
"",
"</style>"
Expand All @@ -269,16 +269,16 @@
"Vue Single File Component Setup Composition API with Typescript": {
"prefix": "vbase-3-ts-setup",
"body": [
"<script setup lang=\"ts\">",
"",
"</script>",
"",
"<template>",
"\t<div>",
"",
"\t</div>",
"</template>",
"",
"<script setup lang=\"ts\">",
"",
"</script>",
"",
"<style scoped>",
"",
"</style>"
Expand Down