How can I use it in class component?
gronxb opened this issue · comments
According to Usage, swrv is used through setup()
in the object export default {}
.
But I want to use it in class components.
How can I use it in class component?
SOL: class component => defineComponent from @vue/composition-api