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

Function 'getArgFromDecorator' need to be updated in vue3 & vue-class-component@8 #1184

Closed
FangyuDu opened this issue Aug 22, 2021 · 1 comment
Labels
stale more than 60 days without activity

Comments

@FangyuDu
Copy link

Env: vue3 + ts + vue-class-component

The problem
In vue-class-component@8, decorator Component will be renamed.
@Component will be renamed to @Options

decoratorIdenifier 'Options' need to be added in filter condition

<template lang="pug">
button.c-button: slot
</template>
<script lang="ts">
import { Options, Vue } from 'vue-class-component'
import { Prop } from 'vue-property-decorator'

@Options({})
export default class Button extends Vue {
  @Prop({ type: String, default:'primary' }) type!: string;
}
</script>
@stale
Copy link

stale bot commented Oct 30, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale more than 60 days without activity label Oct 30, 2021
@stale stale bot closed this as completed Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale more than 60 days without activity
Projects
None yet
Development

No branches or pull requests

1 participant