0.0.8 • Published 4 months ago

nuxt-usesuperflow v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

nuxt-usesuperflow

npm npm bun

A Nuxt 3 module for integrating useSuperflow into your Nuxt application.

Quick Setup

  1. Add nuxt-usesuperflow dependency to your project
# Using pnpm
pnpm add -D nuxt-usesuperflow

# Using yarn
yarn add --dev nuxt-usesuperflow

# Using npm
npm install --save-dev nuxt-usesuperflow

# Using bun
bun add -D nuxt-usesuperflow
  1. Add nuxt-usesuperflow to the buildModules section of nuxt.config.js
import { defineNuxtConfig } from 'nuxt3'

export default defineNuxtConfig({
  modules: [
    'nuxt-usesuperflow'
  ]
})
  1. Configure it in nuxt.config.js
export default defineNuxtConfig({
  modules: [
    'nuxt-usesuperflow'
  ],
  usesuperflow: {
    projectId: 'YOUR_PROJECT_ID',
    apiKey: 'YOUR_API_KEY'
  },
})

That's it! You can now use useSuperflow in your Nuxt 3 app ✨

0.0.8

4 months ago