|
1 | 1 | # SDK Explorer
|
2 | 2 |
|
3 |
| -The Sanity App SDK Explorer contains an assortment of example interfaces built with our React SDK’s hooks. |
4 |
| -The purpose of the Explorer is to demonstrate how these hooks can be used to build out interfaces powered |
5 |
| -by Sanity, with a variety of approaches to styling. |
| 3 | +👉🏻 **[https://sdk-examples.sanity.dev](https://sdk-examples.sanity.dev)** |
6 | 4 |
|
7 |
| -Each example contains an interface rendered in the browser as well as a link to the example’s code on |
8 |
| -GitHub to demonstrate how the example is built. Example code is enriched with comments and may freely |
9 |
| -be used in your own applications. |
| 5 | +The Sanity App SDK Explorer contains an assortment of example interfaces built with our React SDK’s hooks. The purpose of the Explorer is to demonstrate how these hooks can be used to build out interfaces powered by Sanity, with a variety of approaches to styling. |
10 | 6 |
|
11 |
| -## Running the SDK Explorer |
| 7 | +Each example contains an interface rendered in the browser as well as a link to the example’s code on GitHub to demonstrate how the example is built. Example code is enriched with comments and may freely be used in your own applications. |
12 | 8 |
|
13 |
| -We'll have a deployed version of the SDK Explorer available soon. |
14 |
| - |
15 |
| -For now, you can run the SDK Explorer locally: |
| 9 | +Visit the URL above to see the SDK Explorer in action, or follow the steps below to run it locally: |
16 | 10 |
|
17 | 11 | 1. Clone the SDK Examples Git repo: `git clone [email protected]:sanity-io/sdk-examples.git`
|
18 |
| -1. Switch to the SDK Explorer app: `cd ./sdk-examples/sdk-explorer` |
19 |
| -1. Install dependencies: `pnpm install` |
| 12 | +1. Install the dependencies: `pnpm install` |
| 13 | +1. Run the build step: `pnpm build` |
| 14 | +1. Switch to the SDK Explorer app: `cd apps/sdk-explorer` |
20 | 15 | 1. Run the application’s dev server: `pnpm dev`
|
21 | 16 | 1. Open the URL displayed by the dev server (usually `localhost:5173`)
|
0 commit comments