Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 400 Bytes

README.md

File metadata and controls

23 lines (23 loc) · 400 Bytes

基于ReScript的React整合方案

技术栈

  • ReScript
  • React
  • ReactDom
  • Snowpack
  • Emotion

使用

首先需要克隆下来
然后通过yarn或者npm安装依赖

yarn 
# or
npm i

运行

这里默认使用yarn,npm用法类似

yarn watch #启动bsb对ReScript进行实时编译
yarn dev # 对编译后的代码进行运行
# or
yarn build # 进行打包