Skip to content

Instantly share code, notes, and snippets.

@mark123jesper
Forked from rochabianca/vue.json
Created September 18, 2021 01:40
Show Gist options
  • Save mark123jesper/09d2fe4dccea6e3182b4c358be5d26e8 to your computer and use it in GitHub Desktop.
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.
{
"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