NextJS Installation
Integrating the widget into a NextJS app
Prerequisites
Installation Steps
Step 1: Install Dependencies
yarn add @0xsquid/widget@^3.0.10Step 2: Configure NextJS
const nextConfig = {
transpilePackages: ["@0xsquid/widget", "@0xsquid/react-hooks"]
}
module.exports = nextConfigStep 3: Integrate the Widget
Customization
Running Your NextJS App
Troubleshooting
Last updated