Skip to content

Commit

Permalink
Merge pull request #62 from vahnrr/web-mode-vue
Browse files Browse the repository at this point in the history
Add VueJS component snippet.
  • Loading branch information
hlissner committed Feb 13, 2021
2 parents aa5587b + 6bc2b86 commit afe549b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions web-mode/vue
@@ -0,0 +1,18 @@
# -*- mode: snippet -*-
# name: Vue Single-File Component
# uuid: vue
# condition: (equal web-mode-engine "vue")
# --
<script>
export default {
name: '${0:`(file-name-base buffer-file-name)`}'$3
}
</script>

<template>
${1:`%`}
</template>

<style scoped>
$2
</style>

0 comments on commit afe549b

Please sign in to comment.