Modify the scaffold snippet for TypeScript
See original GitHub issueI think it’s more useful to change it to the way components should be defined in Vue 2.5.0+ (link):
import Vue from 'vue'
export default Vue.extend({
})
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Customizable scaffold snippets #1151 - vuejs/vetur - GitHub
We should provide a way to let users customize their scaffold snippets.
Read more >How to Create a Custom VS Code Snippet to Scaffold Your ...
VS Code has some build-in snippets. You can use them with IntelliSense ( Ctrl+Space ) or from a dedicated snippet picker — use...
Read more >Snippet | Vetur - GitHub Pages
Completions of scaffold snippets are sorted by their categories. Workspace > User > Vetur. You can customize the suffix and turn sources on/off...
Read more >Nuxt Typescript Snippets - Visual Studio Marketplace
scaffold creates a .vue file with options to name the class and change the syle language to scss,css,less,styl,sass and where or not to...
Read more >Can VSCode create callback method scaffolding for ...
.vscode - react.code-snippets node_modules public src ... The typescript community has a huge community and there are some libraries already ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think so. Though pretty many TS users actually use vue-class-component rather than vanilla Vue.
Maybe we can change scaffold in future if Vue officially support native class syntax.
is there anyway for us to have our own ?
we use
and I have no idea how I set it to do that rather than
Vue.extends