diff --git a/README.md b/README.md index 58b989c..494824a 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,18 @@ Note for Firefox user: **yacd** is using the [Fetch (Web) API][fetch-api] to stream chunked API response from Clash to draw the traffic chart. But currently the streaming feature in Firefox needs to be turned on manually. Here is how to: -Visit `about:config`, search for `dom.streams.enabled` and `javascript.options.streams`, double click those item to turn them on. +Visit `about:config`, search for `dom.streams.enabled` and `javascript.options.streams`, double click those items to turn them on. [fetch-api]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API + +## Development + +```sh +# install dependencies +yarn + +# start the dev server +yarn start + +# go to http://127.0.0.1:3000 +```