Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyunwu authored Aug 12, 2022
1 parent 0163f89 commit 8695827
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ class App extends Component {

如果使用创建节点的api去写的话会比较麻烦,所以这边推荐使用jsx语法

**babel插件**:babel-plugin-syntax-jsx babel-plugin-transform-vact-jsx(翻译vact的babel)
**babel插件**:babel-plugin-syntax-jsx
babel-plugin-transform-vact-jsx(翻译vact的babel)

**目前babel写的有一点小问题,需要手动引入createNode     `import { createNode } from 'vactapp'`**

### webapck配置

Expand Down

0 comments on commit 8695827

Please sign in to comment.