Skip to content

Commit 8366c07

Browse files
Rob BertramRob Bertram
Rob Bertram
authored and
Rob Bertram
committed
add readme
1 parent 8e53de2 commit 8366c07

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Vite React with ReScript
2+
3+
### First time setup
4+
pnpm install
5+
pnpm re:build-deps
6+
7+
in one terminal run
8+
pnpm re:start
9+
10+
in a second terminal run
11+
pnpm dev
12+
13+
14+
After first time setup just the last two commands so:
15+
in one terminal run
16+
pnpm re:start
17+
18+
in a second terminal run
19+
pnpm dev

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "tsc && vite build",
99
"preview": "vite preview",
1010
"re:build": "rescript",
11+
"re:build-deps": "rescript build -with-deps",
1112
"re:start": "rescript build -w"
1213
},
1314
"dependencies": {

0 commit comments

Comments
 (0)