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:3000
  • yarn build builds the static site into dist/static
  • yarn stories starts Ladle
  • yarn page path/to/my-new-page scaffolds a file for a new page
  • yarn component MyNewComponent scaffolds files for a new component

Next: Pages