Skip to content

Instantly share code, notes, and snippets.

@rochabianca
Last active March 13, 2023 01:17
Show Gist options
  • Save rochabianca/2c39f611b28dfb51f0fb3ff483afbf51 to your computer and use it in GitHub Desktop.
Save rochabianca/2c39f611b28dfb51f0fb3ff483afbf51 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"
}
}
@timwells
Copy link

very helpful - thanks

@uryu-myao
Copy link

thank you so much ! It solved my problem.

@latrylizer
Copy link

thank so much, life saver!

@SomeWare
Copy link

Thank You very much!

@jamesshapiro
Copy link

Super helpful, thanks!

@seanfarmar
Copy link

Super helpful, thanks!

@antunjm
Copy link

antunjm commented May 23, 2020

Thank you very much!

@lucvsbraga
Copy link

Thank you.

@taiwocodes
Copy link

Perfect! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment