Skip to content
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

Add scaffold for Typescript & vue-class-component / vue-property-decorator #810

Closed
ascott18 opened this issue Jun 6, 2018 · 1 comment
Closed

Comments

@ascott18
Copy link

ascott18 commented Jun 6, 2018

This was briefly mentioned in #669, but was not the primary point of that issue.

It would be nice to get a scaffold for using vue-class-component and vue-property-decorator. Something like

<script lang="ts">
import { Vue, Component, Prop, Watch } from 'vue-property-decorator';

@Component({
 
})
export default class extends Vue {
  
}
</script>

I included Prop and Watch as imports in this example as they're likely to be used quite commonly. The other property decorators are less likely and can always be imported as needed.

@octref
Copy link
Member

octref commented May 10, 2019

I'll do #1151 instead.

@octref octref closed this as completed May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants