Skip to content
项目

thuglabs/create-dapp-solana-nextjs

在 GitHub 查看

关于

使用 TS、Next.JS、Tailwinds CSS 和 Daisy UI 构建 Solana dapp 的项目脚手架

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Create Solana Dapp with Next.JS

Want to start develop with Solana fetching NFTs from the blockchain or power-up your Anchor app with UI?
This boilerplate can be used to setup your UI with React.JS / Next.JS and deploy it to Vercel Platform in just a minutes.

https://user-images.githubusercontent.com/188568/152035121-400a89b2-a5f7-4dca-9abd-b5991dc99f2c.mp4

🛵 ◍ Demo: https://create-dapp-solana-nextjs.vercel.app/

This project includes:

Getting Started

First, run the development server:

yarn
yarn run dev

// TODO If you deploy new Candy Machine you can update UI config here: ./src/config/candy-machine.config.js.

Style

Tailwind CSS or daisyUI are selected tools for rapid style development.

You can quickly change theme changing daisy.themes within ./tailwind.config.js. More info here: https://daisyui.com/docs/default-themes

This app encourage you to use CSS Modules over other style technics (like SASS/LESS, Styled Components, usual CSS). It have modular nature and supports modern CSS. Read more on Next.JS site. Anyway, if you want to connect LESS there is example code in ./next.config.js

Deploy on Vercel

Before push run localy npm run build to make sure app can be build succesffully on vercel .

Vercel will automatically create environment and deployment for you if you have vercel account connected to your GitHub account. Go to the vercel.com to connect it. Then any push to main branch will automatically rebuild and redploy app.

Possible Issues

Templates

This boilerplate includes some templates you may find useful:

  • NFT Gallery Template
  • UI for Anchor app (Anchor program based on this tutorial)

探索相关项目

加载中…