@tuzzle/nuxt
v0.2.3
Published
Nuxt module for Tuzzle (auto-imported components, composables, signing)
Downloads
944
Readme
@tuzzle/nuxt
Nuxt 4 module for Tuzzle: auto-imported <TuzzleImage> / <TuzzleChooser> components and composables, runtime config, and a nitro signTuzzleUrl() server util.
Install
npm install @tuzzle/nuxtUsage
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@tuzzle/nuxt'],
tuzzle: {
cdnUrl: process.env.TUZZLE_CDN_URL,
space: process.env.TUZZLE_SPACE,
baseUrl: process.env.TUZZLE_API_URL,
// secret is server-only: set via NUXT_TUZZLE_SECRET
},
})See the repo README for the full SDK overview.
License
MIT
