-
-
Save kongondo/af382b7f2f2f0fab1e2d318db24ee1bf 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 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