Intro
I am a vscode extension that provide some vue snippets support for vue2 && vue3.
What could I do?
abbr. |
snippet |
com |
computed(() => ) |
watchE |
watchEffect(()=>{}) |
onmo |
onMounted(()=>{}) |
onun |
onUnmounted(()=>{}) |
Use <sc to generate template
<script setup>
<script>
<template>
<div>
</div>
</template>
Use <st to generate style
<style scoped></style>
abbr. |
snippet |
vname |
name: '', |
vcreated |
created() {}, |
vdata |
data() { return {} }, |
...v + other options |
...other options |
Use vbase to generate template
<template>
<div></div>
</template>
<script>
export default {}
</script>
<style lang="scss" scoped></style>
| |