{"repo":"nuxt-modules/medusa","free":true,"listed":false,"github":"https://github.com/nuxt-modules/medusa","clone":"git clone https://github.com/nuxt-modules/medusa.git","description":"🛍️ Medusa module for Nuxt","language":"TypeScript","stars":179,"topics":["ecommerce","javascript","medusa","nuxt","typescript","vue"],"license":"MIT","category":"ecommerce","readme_excerpt":"Nuxt Medusa [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] Medusa module for Nuxt. - ▶️ &nbsp;Play online - 📖 &nbsp;Documentation - 🎥 &nbsp;Intro video - ✨ &nbsp;Release Notes Features - Nuxt 3 ready - Wrapper around @medusajs/js-sdk - Handy composables like useMedusaClient - Usage in API server routes with serverMedusaClient - TypeScript support Quick Setup 1. Add @nuxtjs/medusa dependency to your project 2. Create .env file with following MEDUSA URL variable: And that's it! You can now fetch data from Medusa in Nuxt ✨ If you are encountering problems with CORS from Medusa, make sure that process.env.STORE CORS in medusa-config.js file is pointing to your local Nuxt project. By default, Medusa has CORS set for http://localhost:8000 while Nuxt is running by default on http://localhost:3000 Development [npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/medusa/latest.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-version-href]: https://npmjs.com/package/@nuxtjs/medusa [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/medusa.svg?style=flat&colorA=18181B&colorB=28CF8D [npm-downloads-href]: https://npmjs.com/package/@nuxtjs/medusa [license-src]: https://img.shields.io/npm/l/@nuxtjs/medusa.svg?style=flat&colorA=18181B&colorB=28CF8D [license-href]: https://npmjs.com/package/@nuxtjs/medusa","default_branch":null,"files":null,"tree":[],"storefront":"/r/nuxt-modules","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nuxt-modules/medusa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}