You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
🐛 The bug
As from version 0.28 we start support script setup. Test files for now only on javascript. In Typescript i found that ref variables not converted to value on template:
Our document still not mention about typescript type, since we use unplugin-vue2-script-setup for script setup, i try to add unplugin-vue2-script-setup/types to tsconfig.json. Result is ref variable turn to correct, but now all custom component turn to any.
This issue go away if use @vue/composition-api with unplugin-vue2-script-setup. So i think issue come from our package somehow
🛠️ To reproduce
Steps to reproduce the behavior:
create new nuxt project
install @nuxtjs/composition-api
write new custom component use script setup, like in screenshot