Installation Guides
v0
Add RevDock to your v0-generated project in under 2 minutes.
v0 by Vercel generates Next.js components. Once you've added them to a Next.js project, follow these steps.
Setup
Export to a Next.js project
If you haven't already, export your v0 components to a Next.js project using the "Add to codebase" button.
Open your root layout
Find app/layout.tsx in your project.
Add the Script component
import Script from 'next/script';
export default function RootLayout({ children }) {
return (
<html lang="en">
<head>
<Script
src="https://getrevdock.com/scripts/revdock.js"
data-website-id="YOUR_WEBSITE_ID"
strategy="afterInteractive"
/>
</head>
<body>{children}</body>
</html>
);
}Deploy to Vercel
Push to GitHub and deploy via Vercel. RevDock will be active immediately.
v0 components work best when deployed to Vercel, but RevDock works on any hosting platform.
Verify it's working
- Visit your deployed site
- Check the RevDock dashboard — widgets should appear within minutes