https://github.com/mateuszkulpa/nuxt-ab-testing
Nuxt module designed to seamlessly integrate A/B testing.
https://github.com/mateuszkulpa/nuxt-ab-testing
100commitow ab-testing nuxt nuxt-module
Last synced: 4 months ago
JSON representation
Nuxt module designed to seamlessly integrate A/B testing.
- Host: GitHub
- URL: https://github.com/mateuszkulpa/nuxt-ab-testing
- Owner: mateuszkulpa
- Created: 2024-02-17T16:57:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T20:32:18.000Z (almost 2 years ago)
- Last Synced: 2025-08-17T07:52:16.608Z (6 months ago)
- Topics: 100commitow, ab-testing, nuxt, nuxt-module
- Language: TypeScript
- Homepage: https://nuxt-ab-testing.vercel.app
- Size: 1.17 MB
- Stars: 16
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Nuxt A/B Testing
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]
🚧 **This project is currently under development and not yet production ready.**
Nuxt module designed to seamlessly integrate A/B testing.
- [✨ Release Notes](/CHANGELOG.md)
- [📖 Documentation](https://nuxt-ab-testing.vercel.app)
## Planned features
- 🔄 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
## Quick Setup
1. Add `nuxt-ab-testing` dependency to your project
```bash
# 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
```
2. Add `nuxt-ab-testing` to the `modules` section of `nuxt.config.ts`
```js
export default defineNuxtConfig({
modules: [
'nuxt-ab-testing'
]
})
```
That's it! You can now use Nuxt A/B Testing in your Nuxt app ✨
## Development
```bash
# 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
```
[npm-version-src]: https://img.shields.io/npm/v/nuxt-ab-testing/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/nuxt-ab-testing
[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-ab-testing.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npmjs.com/package/nuxt-ab-testing
[license-src]: https://img.shields.io/npm/l/nuxt-ab-testing.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/nuxt-ab-testing
[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js
[nuxt-href]: https://nuxt.com