You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the instructions below, our new standard library [ReScript Core](https://github.com/rescript-association/rescript-core) will be included by default. (In ReScript 11, it comes as a separate npm package `@rescript/core`. In future versions, it will be included in the `rescript` npm package itself.)
12
-
13
8
## Prerequisites
14
9
15
-
-[Node.js](https://nodejs.org/) version >= 14
10
+
-[Node.js](https://nodejs.org/) version >= 20
16
11
- One of the following package managers:
17
12
-[npm](https://docs.npmjs.com/cli/) (comes with Node.js)
18
-
-[yarn](https://yarnpkg.com/) (yarn versions >1 need to set `nodeLinker: node-modules` in `.yarnrc.yml`)
13
+
-[yarn](https://yarnpkg.com/)
14
+
- yarn versions >1 need to set `nodeLinker: node-modules` in `.yarnrc.yml`
19
15
-[pnpm](https://pnpm.io/)
20
16
-[bun](https://bun.sh/)
17
+
-[deno](http://deno.com/)
18
+
- Configure `"nodeModulesDir": "auto"` in `deno.json`
21
19
22
20
## New Project
23
21
24
-
The fastest and easiest way to spin up a new ReScript project is with the [create-rescript-app](https://github.com/rescript-lang/create-rescript-app) project generator. You can start it with any of the aforementioned package managers or `npx`.
22
+
The fastest and easiest way to spin up a new ReScript project is with the [create-rescript-app](https://github.com/rescript-lang/create-rescript-app) project generator. This will get you started with a fresh Next.js or Vite app with React and Tailwind CSS.
23
+
24
+
You can start it with any of the aforementioned package managers or `npx`.
`create-rescript-app` will tell you that a `package.json` file has been detected and ask you if it should install ReScript into your project. Just follow the steps accordingly.
0 commit comments