mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
|
History
|
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| jsconfig.json | ||
| next.config.js | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| yarn.lock | ||
React Location Docs
This is source code to react-location.tanstack.com. It is forked from the Formik docs and is built with:
- Next.js
- MDX
- Tailwind
- Algolia
- Notion
Running locally
yarn install
At the moment, you need to signup for Notion, and follow these instructions to get a token and create a blog in order to develop locally. Not ideal, but hopefully will fix soon.
With 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:
-NOTION_TOKEN=XXXX
+NOTION_TOKEN=<YOUR_TOKEN>
-BLOG_INDEX_ID=XXXXX
+BLOG_INDEX_ID=<YOUR_BLOG_INDEX_ID>
Now it will work. Run npm start dev to get going.
If you get stuck or need help, send a DM to Jared on Twitter.