Skip to content

Can you add a decorator like @NoXXX and @NotXXX? #140

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

Closed
yangdan8 opened this issue Sep 4, 2017 · 3 comments
Closed

Can you add a decorator like @NoXXX and @NotXXX? #140

yangdan8 opened this issue Sep 4, 2017 · 3 comments

Comments

@yangdan8
Copy link

yangdan8 commented Sep 4, 2017

能不能加上像@NoXxX,@notxxx的装饰器禁止转为vue类属性或方法?
Can you add a decorator like @NoXxX and @notxxx to a Vue class property or method?

@HerringtonDarkholme
Copy link
Member

Hi, please see #96 for more information.

@ktsn
Copy link
Member

ktsn commented Sep 5, 2017

Since current decorator implementations are not standardized yet (babel/ts do different behavior in some cases), I hesitate to include them in vue-class-component. Let's wait until transpilers implement the standard decorator and revisit after that.

@ktsn
Copy link
Member

ktsn commented Nov 11, 2017

Let's integrate this with #96 to track.

@ktsn ktsn closed this as completed Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants