-
-
Save mark123jesper/09d2fe4dccea6e3182b4c358be5d26e8 to your computer and use it in GitHub Desktop.
Snippet to bring back scaffold on vue on vscode. To use it go to Code>Preferences>User Snippets type vue on the input and paste this code there.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bring back the scaffold to vue files": { | |
"prefix": "scaffold", | |
"body": [ | |
"<template>", | |
" <div>$TM_FILENAME_BASE</div>", | |
"</template>", | |
"", | |
"<script>", | |
"export default {", | |
" name: '$TM_FILENAME_BASE',", | |
"};", | |
"</script>", | |
"", | |
"<style>", | |
"</style>", | |
"" | |
], | |
"description": "bring back the scaffold to vue files" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment