Use the create-solana-dapp tool to start a new project based on this template (recommended).
# created an npm based project
npx create-solana-dapp --template next-tailwind
# created an pnpm based project
pnpx create-solana-dapp --template next-tailwind
# created an yarn based project
yarn create solana-dapp --template next-tailwind
- Node v18.18.0 or higher
git clone https://github.com/solana-developers/template-next-tailwind.git
cd template-next-tailwind
pnpm install
pnpm dev
This is a Next.js web app to get you started on interacting with the Solana network.
Start the web app
pnpm dev
Build the web app
pnpm build