🚧 This project is currently under development and not yet production ready.
Nuxt module designed to seamlessly integrate A/B testing.
- 🔄 Dynamic variant assignment
- ⚙️ Comprehensive configuration options
- 📐 Extensible variant definitions
- 📅 Scheduled testing controls
- 📊 Analytics and event tracking
- 🛠 Developer tools and internal analytics dashboard
- 💾 Flexible storage options
- Add
nuxt-ab-testing
dependency to your project
# Using pnpm
pnpm add -D nuxt-ab-testing
# Using yarn
yarn add --dev nuxt-ab-testing
# Using npm
npm install --save-dev nuxt-ab-testing
- Add
nuxt-ab-testing
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-ab-testing'
]
})
That's it! You can now use Nuxt A/B Testing in your Nuxt app ✨
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Develop with the playground
pnpm run dev
# Build the playground
pnpm run dev:build
# Run ESLint
pnpm run lint
# Run Vitest
pnpm run test
pnpm run test:watch
# Release new version
pnpm run release