Skip to content

Commit

Permalink
chore(examples): improve simple example
Browse files Browse the repository at this point in the history
* build(examples): update README.md to reflect new way to run simple example

* build(examples): provide "main" property in package.json to point embedded codesandbox to index.jsx file
zorzysty authored Jul 29, 2022
1 parent a8b0a3b commit 1fdab15
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/react/simple/README.md
Original file line number Diff line number Diff line change
@@ -3,4 +3,4 @@
To run this example:

- `npm install`
- `npm run start`
- `npm run dev`
1 change: 1 addition & 0 deletions examples/react/simple/package.json
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
"name": "@tanstack/query-example-react-simple",
"private": true,
"version": "0.0.1",
"main": "src/index.jsx",
"scripts": {
"dev": "vite",
"build": "vite build",

0 comments on commit 1fdab15

Please sign in to comment.