@mawjod/nuxt

Nuxt 4 module for the Mawjod storefront API.
1,919
Install
npm install @mawjod/nuxt
Latest Version:0.9.0
Vue:3
License:MIT
Last Updated:Oct 22, 2026
Links: GitHub  ·  npm
Maintainer: lordjoo

@mawjod/nuxt

Nuxt 4 module for the Mawjod storefront API. Composables only: no components, no styles.

pnpm add @mawjod/nuxt @mawjod/api
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@mawjod/nuxt'],
  mawjod: { apiBase: 'http://localhost:8000', locale: 'en' },
})
<script setup lang="ts">
const { data: products } = await useProducts({ page: { size: 12 } })
const { addLine, itemCount } = useCart()
</script>

apiBase is overridable at boot with NUXT_PUBLIC_MAWJOD_API_BASE.

Full documentation lives in the SDK docs site.

Related Packages

@privyid/nuxt-csrf

Module CSRF for NUXT

26,088 9
mixpanel-nuxt

Mixpanel module for Nuxt

19,992 7
nuxt-radash

radash for Nuxt

10,601 20
gsap-nuxt-module

GSAP integration for Nuxt.

8,932 37
@docus/core-edge

The Docus core.

8,638

Version History

Version Released License
0.9.0 MIT
0.8.0 MIT
0.7.0 MIT
0.6.0 MIT
0.5.0 MIT