一个 基于 next.js Tailwind 的 move 应用脚手架。
- git clone https://github.com/NonceGeek/scaffold-aptos.git
- cd scaffold-move/scaffold-aptos
- yarn # 安装必须的前端包,注意自己本地的网络环境
- 环境配置,部分全局变量在 .env.local 中,该变量会默认 注入到 yarn 启动的进程当中。初学者注意,aptos官网提供的testnet faucet 的 url 不能直接使用。
- yarn dev
- yarn build #编译完成的 next.js 应用