Skip to content

Instantly share code, notes, and snippets.

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"
}
}
@timwells

This comment has been minimized.

Copy link

@timwells timwells commented Aug 20, 2019

very helpful - thanks

@uryu-myao

This comment has been minimized.

Copy link

@uryu-myao uryu-myao commented Feb 11, 2020

thank you so much ! It solved my problem.

@latrylizer

This comment has been minimized.

Copy link

@latrylizer latrylizer commented Feb 20, 2020

thank so much, life saver!

@SomeWare

This comment has been minimized.

Copy link

@SomeWare SomeWare commented Mar 17, 2020

Thank You very much!

@jamesshapiro

This comment has been minimized.

Copy link

@jamesshapiro jamesshapiro commented Mar 22, 2020

Super helpful, thanks!

@seanfarmar

This comment has been minimized.

Copy link

@seanfarmar seanfarmar commented Apr 21, 2020

Super helpful, thanks!

@antunjm

This comment has been minimized.

Copy link

@antunjm antunjm commented May 23, 2020

Thank you very much!

@miclgael

This comment has been minimized.

Copy link

@miclgael miclgael commented Aug 5, 2020

🙏 Thank you! vv halps.

Not sure what happened to Vetur, but it just seems to do nothing now. (ᵟຶ︵ ᵟຶ)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.