Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 631 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 631 Bytes

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.