An open API service indexing awesome lists of open source software.

https://github.com/mowtwo/rescriptreact

基于ReScript的React整合方案
https://github.com/mowtwo/rescriptreact

react rescript

Last synced: about 2 months ago
JSON representation

基于ReScript的React整合方案

Awesome Lists containing this project

README

        

# 基于ReScript的React整合方案
## 技术栈
- ReScript
- React
- ReactDom
- Snowpack
- Emotion
## 使用
首先需要克隆下来
然后通过`yarn`或者`npm`安装依赖
```bash
yarn
# or
npm i
```
## 运行
这里默认使用`yarn`,npm用法类似
```bash
yarn watch #启动bsb对ReScript进行实时编译
yarn dev # 对编译后的代码进行运行
# or
yarn build # 进行打包
```