Update doc to use yarn to use REPL (#838)
This commit is contained in:
committed by
GitHub
parent
d4286513fd
commit
d0eed62b18
2
guide.md
2
guide.md
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user