Skip to content

Getting started

Welcome to ReScript Fresh! Feel free to skip around to the different guides to learn how things work, but all of the guides will assume that you have cloned the starter template and followed these basic steps.

  1. Copy the starter repo template on Github by clicking the “Use this template” button.
  2. These guides work best if you are using VSCode as a text editor and have installed the recommended extensions from the starter repo. The extensions you’ll want are denoland.vscode-deno, bradlc.vscode-tailwindcss, and chenglou92.rescript-vscode. You should be prompted when opening the repo in VSCode to install the recommended extensions.
  3. Install the required dependencies by running deno install
  4. Run deno task res:dev to start the ReScript compiler. In another terminal tab or window run deno task start to launch the Fresh dev server.

You should be all set now to get started!