Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

README.md

30 lines899 Bytes

1# React Query Docs
2​
3This is source code to react-query.tanstack.com. It is forked from the [Formik](https://formik.org) docs and is built with:
4​
5- Next.js
6- MDX
7- Tailwind
8- Algolia
9- Notion
10​
11## Running locally
12​
13```sh
14yarn install
15```
16​
17At the moment, you need to signup for Notion, and [follow these instructions](https://github.com/ijjk/notion-blog#getting-blog-index-and-token) to get a token and create a blog in order to develop locally. Not ideal, but hopefully will fix soon.
18​
19With tokens and page index in hand, rename `.sample.env` and `.sample.env.build` to just `.env` and `.env.build`. In each one, add respective parameters:
20​
21```diff
22-NOTION_TOKEN=XXXX
23+NOTION_TOKEN=<YOUR_TOKEN>
24-BLOG_INDEX_ID=XXXXX
25+BLOG_INDEX_ID=<YOUR_BLOG_INDEX_ID>
26```
27​
28Now it will work. Run `yarn dev` to get going.
29​
30If you get stuck or need help, [send a DM to Jared](https://twitter.com/jaredpalmer) on Twitter.