Skip to content

featurevisor/featurevisor-example-nextjs

Repository files navigation

Featurevisor with Next.js

This example connects the Featurevisor JavaScript SDK to the flags package in a Next.js application. It supports flags, variations, and variables through a small adapter in src/featurevisor.ts.

Setup

npm ci

Start the development server:

npm run dev

Open http://localhost:3000.

Checks

npm run lint
npm run typecheck
npm run build

The adapter can create its own Featurevisor instance or receive an existing one through the instance option.

About

Next.js application using feature flags for both Pages Router and App Router

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages