Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
docs: devtool
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Jun 12, 2020
1 parent 7c79453 commit 9a00739
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/guide/basic/devtools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
title: 调试工具
order: 31
---

> 2.5.0 开始支持
Remax 支持使用 [React DevTools](https://reactjs.org/blog/2019/08/15/new-react-devtools.html) 的使用。

安装 React DevTools:

```bash
$ npm install react-devtools -g
```

启动:

```bash
$ react-devtools
```

在小程序开发者工具中运行 Remax 项目后即可在 React DevTools 中进行调试。


![screenshot](https://gw.alipayobjects.com/mdn/rms_b5fcc5/afts/img/A*5xt9TZIY3O4AAAAAAAAAAABkARQnAQ)

0 comments on commit 9a00739

Please sign in to comment.