/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
viewTransition: true,
},
}
module.exports = nextConfig
Installation
pnpm install presivioYou also may need:
- react@experimental
- react-dom@experimental
And turn on this NextJS feature on your next.config.js:
Warning!
This packages uses experimental features of React 19
Since experimental versions of React may contain bugs. Don’t use them in production or business critical applications.