Next.js Integration
Installation
Install the cside Next.js package:
Setup
Add the CSideScript component to your root layout:
Server-side prefixing
While the cside script handles most script interception automatically, some cases require server-side prefixing for optimal performance and Firefox compatibility.
See Server-side Prefixing for details, or use the CLI tool for static builds.