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

是否支持 vue3+setup+ts #615

Open
YinMingBin opened this issue Jun 9, 2022 · 4 comments
Open

是否支持 vue3+setup+ts #615

YinMingBin opened this issue Jun 9, 2022 · 4 comments

Comments

@YinMingBin
Copy link

请问 vue3+setup+ts 能否使用?如何使用?

@kagaricyan
Copy link

试试写到Component装饰器的选项里面。

@Component({
    setup() {
        //
    }
})

@lzxb
Copy link

lzxb commented Aug 3, 2022

不如直接试试这个:https://github.com/fmfe/vue-class-setup

@kagaricyan
Copy link

不如直接试试这个:https://github.com/fmfe/vue-class-setup

我本来就是四不像过渡用的。

@lzxb
Copy link

lzxb commented Aug 3, 2022

我这边也是有很多过渡,后面新的组件都是使用class setup

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