Intevel / nuxt-directus

🐰 Easily integrate Directus to your Nuxt application.
https://nuxt-directus.de/
MIT License
269 stars 49 forks source link

Options API? #247

Closed adamkhan closed 8 months ago

adamkhan commented 8 months ago

Hi,

Thanks for Nuxt-Directus and it's great to see development is ongoing. A question from what must be an aging brain that still prefers the Options API to the Composition API: there's nothing in the docs about how to use Nuxt-Directus in Options API — is it possible?

casualmatt commented 8 months ago

Hello @adamkhan,

We are working on the new V6 documentation, but our priority is to prepare examples and documentation for the composition api. This is also because Nuxt itself uses the composition api in his documentation.

We will evaluate that when 6.0 is out and the full documentation will be done.

But yes it should be possible, to use it inside the setup in the option api, but never tried.