diff --git a/examples/starter/README.md b/examples/starter/README.md new file mode 100644 index 0000000000..a42fc02983 --- /dev/null +++ b/examples/starter/README.md @@ -0,0 +1,20 @@ +# Starter [![Open in StackBlitz](https://img.shields.io/badge/Open%20in-StackBlitz-blue?style=flat-square&logo=stackblitz)](https://stackblitz.com/github/pmndrs/zustand/tree/main/examples/starter) + +## Set up locally + +```bash +git clone https://github.com/pmndrs/zustand + +# install project dependencies & build the library +cd zustand && pnpm install + +# move to the examples folder & install dependencies +cd examples/starter && pnpm install + +# start the dev server +pnpm dev +``` + +## Set up on `StackBlitz` + +Link: https://stackblitz.com/github/pmndrs/zustand/tree/main/examples/starter diff --git a/examples/starter/index.html b/examples/starter/index.html index 6ae2cc048d..91f9ad212f 100644 --- a/examples/starter/index.html +++ b/examples/starter/index.html @@ -9,7 +9,7 @@
- - + +