0.1.6 • Published 6 months ago
@launch-list/nextjs v0.1.6
@launch-list/nextjs
Overview
Launch List is the easiest way to add lead generation to your Next.js app.
Getting Started
Installation
npm i @launch-list/nextjs
Usage
Add your Launch List API key and project ID to your .env file
NEXT_PUBLIC_LAUNCH_LIST_API_KEY=<YOUR-API-KEY>
NEXT_PUBLIC_LAUNCH_LIST_PROJECT_ID=<YOUR-PROJECT-ID>
Now, you can import the <SignUp />
component from Launch List. This is a client component and will work in both server and client components.
Full example:
import { SignUp } from "@launch-list/nextjs";
export default function Home() {
return (
<div>
<SignUp />
</div>
);
}