Skip to content

Commit

Permalink
docs(examples): update example to gatsby (#2774)
Browse files Browse the repository at this point in the history
Co-authored-by: jixianjing <xianjing.ji@mail.hypers.com>
  • Loading branch information
BlindMonkLeeSin and jixianjing authored Oct 12, 2022
1 parent b4cc953 commit 0cb6d82
Show file tree
Hide file tree
Showing 7 changed files with 69,334 additions and 67 deletions.
13 changes: 11 additions & 2 deletions examples/with-gatsby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Download the example:

```
curl https://codeload.github.com/rsuite/rsuite/tar.gz/master | tar -xz --strip=2 rsuite-master/examples/with-gatsby
cd with-rtlcss
curl https://codeload.github.com/rsuite/rsuite/tar.gz/main | tar -xz --strip=2 rsuite-main/examples/with-gatsby
cd with-gatsby
```

Install it and run:
Expand All @@ -18,3 +18,12 @@ npm run start
yarn
yarn start
```

## npm install error

if download "sharp" error,you need:

```
npm config set sharp_binary_host "https://npmmirror.com/mirrors/sharp/"
npm config set sharp_libvips_binary_host "https://npmmirror.com/mirrors/sharp-libvips/"
```
Loading

1 comment on commit 0cb6d82

@vercel
Copy link

@vercel vercel bot commented on 0cb6d82 Oct 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.