Medusa module for Nuxt
Nuxt Medusa is a module for Nuxt that serves as a wrapper around @medusajs/js-sdk, providing convenient features like useMedusaClient and allowing for usage in API server routes with serverMedusaClient. It is Nuxt 3 ready and supports TypeScript.
To install Nuxt Medusa, follow these steps:
npm install @nuxtjs/medusa
process.env.STORE_CORS = 'http://localhost:3000';
Nuxt Medusa is a useful module for Nuxt that simplifies interaction with the Medusa JavaScript SDK. With features like handy composables and support for TypeScript, it provides an easy way to integrate Medusa into your Nuxt project. The quick setup process makes it convenient to get started and use Medusa for fetching data seamlessly.