Skip to content

Commit

Permalink
chore: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
canfoo committed Aug 29, 2021
1 parent ada932e commit 4d6ba42
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
## React-WXAPP
## React语法构建小程序
> 本项目只是简单实现使用React语法构建小程序功能,目的是为了学习,不可以投入到实际业务进行使用!
本项目简单实现了React语法构建小程序的过程,分别通过两种方式进行实现,一种是重编译方式,一种是重运行方式。

## 如何使用
安装依赖

```
yarn or npm install
```

重编译构建(编译完成后用微信开发者工具打开compile-dist目录,即可观察到src目录的React代码运行到小程序的效果。)

```
npm run build:compile
```


重运行构建

*TODO*

0 comments on commit 4d6ba42

Please sign in to comment.