-
-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify the scaffold snippet for TypeScript #669
Comments
I think so. Maybe we can change scaffold in future if Vue officially support native class syntax. |
Fair enough. Could also have two snippets:
|
is there anyway for us to have our own ? we use <template>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
@Component({
components: {},
})
export default class <filename> extends Vue {
}
</script> and I have no idea how I set it to do that rather than |
Wait for #1151, which I have already started to work on in https://github.com/vuejs/vetur/tree/scaffold-snippet. |
I think it's more useful to change it to the way components should be defined in Vue 2.5.0+ (link):
The text was updated successfully, but these errors were encountered: