-
Notifications
You must be signed in to change notification settings - Fork 344
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
Possible can i use composition api and vue-property-decorator typescript together? #136
Comments
I use setup function in |
Not sure if It'll help or not, but you should start by registering the hook, Component.registerHooks([
'setup'
]) |
where i can place it? main.js right? |
Yes, in main.js I've:
|
thank for your help :) |
Seems the issue is resolved, if not, please reopen or create a new issue. Remember to use the forum or the Discord chat to ask questions! |
I have done the following: main.js
Then on my component:
But the console log never shows. Any idea? If I move the
|
Hey @CharlieBrownCharacter since |
That seems to be an issue using the |
TypeScript can't support any method for let decorator effect type. |
No description provided.
The text was updated successfully, but these errors were encountered: