Update doc to use yarn to use REPL (#838)

This commit is contained in:
Constance Caramanolis
2022-02-19 18:27:58 -08:00
committed by GitHub
parent 167f0fa08d
commit 94fa6b3e8a
2 changed files with 2 additions and 2 deletions

View File

@@ -398,7 +398,7 @@ And there are three rrweb-replayer event will be emitted in the same way:
You can also play with rrweb by using the REPL testing tool which does not need installation.
Run `npm run repl` to launch a browser and ask for a URL you want to test on the CLI:
Run `yarn repl` to launch a browser and ask for a URL you want to test on the CLI:
```
Enter the url you want to record, e.g https://react-redux.realworld.io:

View File

@@ -396,7 +396,7 @@ replayer.on(EVENT_NAME, (payload) => {
在不安装 rrweb 的情况下,也可以通过使用 REPL 工具试用 rrweb 录制 web 应用。
运行 `npm run repl`,将会启动浏览器并在命令行要求输入一个测试的 url
运行 `yarn repl`,将会启动浏览器并在命令行要求输入一个测试的 url
```
Enter the url you want to record, e.g https://react-redux.realworld.io: