example project with ReasonML using ReasonReact, Next.js, Gatsby
The repository explores Eugene of Astuto's video tutorial.
You'll need Node.js and npm/yarn.
- Install BuckleScript globally.
npm i -g bs-platform
For a better developer experience, add reason-cli.
npm i -g reason-cli@latest-linux --unsafe-perm
(Or reason-cli@latest-macos
)
- Clone the repository
git clone https://github.com/sophiabrandt/reason-nextjs.git
(Or degit https://github.com/sophiabrandt/reason-nextjs.git reason-nextjs
)
- Install packages
cd reason-nextjs && npm install
npm run dev
Go to https://localhost:3000
to view the pages.
The code was written by Eugene of Astuto, with minor modifications by Sophia Brandt.
The repository only documents my learning process.
Please refer to the repo for the video tutorial for details.
Thanks to Eugene of Astuto for creating the tutorial series.
Sophia Brandt - @hisophiabrandt