0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/docs
History 2022-04-21 13:35:55 -06:00
..
public Remove Convert kit (#248) 2022-03-23 17:21:09 -06:00
src docs: update search matching docs to reference "id" requirement for identical path matches (#263) 2022-04-21 13:35:55 -06:00
.gitignore docs and example 2021-10-14 21:41:35 -06:00
jsconfig.json docs and example 2021-10-14 21:41:35 -06:00
next.config.js namespace package names 2022-02-01 13:01:57 -07:00
package.json build docs 2021-10-14 22:10:16 -06:00
postcss.config.js docs and example 2021-10-14 21:41:35 -06:00
README.md fix: generics, react-location-simple-cache 2021-10-20 22:52:40 -06:00
tailwind.config.js docs and example 2021-10-14 21:41:35 -06:00
yarn.lock chore(deps): bump lodash from 4.17.19 to 4.17.21 in /docs (#183) 2022-01-18 07:22:31 -07:00

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.