bryantgillespie / nuxt3-directus-starter

Nuxt 3 starter for Directus with Tailwind CSS and lots of other goodies
https://directus-nuxt3-starter.netlify.app/
140 stars 26 forks source link

Add composables for using SDK #7

Open bryantgillespie opened 2 years ago

bryantgillespie commented 2 years ago

Add composables for Items and other API endpoints to make data fetching even easier.

Intevel commented 2 years ago

@bryantgillespie Maybe use the Nuxt 3 Directus module? https://github.com/Intevel/nuxt-directus/ It provides all this composables

bryantgillespie commented 1 year ago

@bryantgillespie Maybe use the Nuxt 3 Directus module? https://github.com/Intevel/nuxt-directus/ It provides all this composables

Really like the package you've put together but I've opted to use the Directus SDK since it handles auth and token refreshes for you.

dnndev commented 1 year ago

Thanks for putting this together @bryantgillespie I like to work less abstracted from the source when I can and I appreciate your use of the SDK.