Skip to content

Commit

Permalink
Move puppeteerExecutablePath explaination to restricted environments …
Browse files Browse the repository at this point in the history
…part
  • Loading branch information
lindongwu committed Jan 3, 2018
1 parent de354f7 commit 23ce4b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ Use `inlineCss: true` to enable this feature.

TODO: as soon as the feature will be stable it should be enabled by default.

### puppeteerExecutablePath

To run `react-snap` inside environment likes docker, you might want to use custom chromium executable.

For example, use `puppeteerExecutablePath: "/usr/bin/chromium-browser"` you can set chromium executable path to `/usr/bin/chromium-browser`.

## ⚠️ Caveats

### Async components
Expand Down Expand Up @@ -208,6 +202,12 @@ you may use

Read more about [puppeteer troubleshooting.](https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md)

#### Docker

To run `react-snap` inside docker (especially when using alpine), you might want to use custom chromium executable.

For example, use `puppeteerExecutablePath: "/usr/bin/chromium-browser"` you can set chromium executable path to `/usr/bin/chromium-browser`.

### Semantic UI

[Semantic UI](https://semantic-ui.com/) is defined over class substrings that contain spaces
Expand Down

0 comments on commit 23ce4b0

Please sign in to comment.