Skip to content

Instantly share code, notes, and snippets.

@kongondo

kongondo/vue.json

Forked from rochabianca/vue.json
Created Sep 26, 2019
Embed
What would you like to do?
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