composition-api
composition-api copied to clipboard
fix: ref, reactive, ... are not reexported from @nuxtjs/composition api
🐛 The bug
Installing the @nuxtjs/composition-api
to the codebase that is currently using Nuxt 2,
but can not use Composition-API (ref
, reactive
, ...), the error happened as following screenshot:

🌈 Expected behaviour
Can use/import without error the ref
, reactive
, ... in the codebase.