Skip to content

Commit

Permalink
fix: update readme and replace @vitejs/plugin-react-swc
Browse files Browse the repository at this point in the history
  • Loading branch information
leweyse committed Dec 20, 2024
1 parent 95aa9a3 commit 7fb9ebe
Show file tree
Hide file tree
Showing 4 changed files with 547 additions and 264 deletions.
14 changes: 8 additions & 6 deletions examples/starter/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# Hello [![Open in CodeSandbox](https://img.shields.io/badge/Open%20in-CodeSandbox-blue?style=flat-square&logo=codesandbox)](https://githubbox.com/pmndrs/jotai/tree/main/examples/starter)
# Starter [![Open in StackBlitz](https://img.shields.io/badge/Open%20in-StackBlitz-blue?style=flat-square&logo=stackblitz)](https://stackblitz.com/github/pmndrs/jotai/tree/main/examples/starter)

## Set up locally

```bash
git clone https://github.com/pmndrs/jotai

# install project dependencies & build the library
cd jotai && yarn
cd jotai && pnpm i

# move to the examples folder & install dependencies
cd examples/hello && yarn
cd examples/starter && pnpm i

# start the dev server
yarn start
pnpm dev
```

## Set up on codesandbox
## Set up on `StackBlitz`

Link: https://githubbox.com/pmndrs/jotai/tree/main/examples/starter
Link: https://stackblitz.com/github/pmndrs/jotai/tree/main/examples/starter
4 changes: 2 additions & 2 deletions examples/starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.0.0",
"vite": "^5.3.4"
"vite": "^6.0.5"
}
}
Loading

0 comments on commit 7fb9ebe

Please sign in to comment.