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.
- Copy the starter repo template on Github by clicking the “Use this template” button.
- 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
, andchenglou92.rescript-vscode
. You should be prompted when opening the repo in VSCode to install the recommended extensions. - Install the required dependencies by running
deno install
- Run
deno task res:dev
to start the ReScript compiler. In another terminal tab or window rundeno task start
to launch the Fresh dev server.
You should be all set now to get started!