Getting started
Click the green Use this template button on GitHub and clone your new repo.
Install dependencies with yarn
, then yarn dev
and open localhost:3000.
Scripts
Tropical comes with the following package scripts. Feel free to use npm
instead of yarn
.
yarn dev
starts a dev server at localhost:3000yarn build
builds the static site intodist/static
yarn stories
starts Ladleyarn page path/to/my-new-page
scaffolds a file for a new pageyarn component MyNewComponent
scaffolds files for a new component
Next: Pages