Skip to content

The marketing and docs site for all TanStack projects

Notifications You must be signed in to change notification settings

jbhoot/tanstack.com

This branch is 51 commits behind TanStack/tanstack.com:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dde7cb9 · Feb 11, 2025
Jun 29, 2024
Feb 11, 2025
Jan 26, 2025
Nov 8, 2023
Feb 10, 2025
Jan 22, 2025
Jan 22, 2025
Apr 2, 2024
Jan 10, 2025
Jun 29, 2024
Dec 17, 2024
Jul 19, 2023
Dec 24, 2024
Dec 4, 2024
Dec 29, 2024
Jan 30, 2025
Jan 30, 2025
Apr 18, 2024
Jan 21, 2025
Aug 17, 2024
Dec 11, 2024
Apr 2, 2024

Repository files navigation

Welcome to TanStack.com!

This site is built with TanStack Router!

It's deployed automagically with Netlify!

Development

From your terminal:

pnpm install
pnpm dev

This starts your app in development mode, rebuilding assets on file changes.

Editing and previewing the docs of TanStack projects locally

The documentations for all TanStack projects except for React Charts are hosted on https://tanstack.com, powered by this TanStack Router app. In production, the markdown doc pages are fetched from the GitHub repos of the projects, but in development they are read from the local file system.

Follow these steps if you want to edit the doc pages of a project (in these steps we'll assume it's TanStack/form) and preview them locally :

  1. Create a new directory called tanstack.
mkdir tanstack
  1. Enter the directory and clone this repo and the repo of the project there.
cd tanstack
git clone [email protected]:TanStack/tanstack.com.git
git clone [email protected]:TanStack/form.git

Note

Your tanstack directory should look like this:

tanstack/
   |
   +-- form/
   |
   +-- tanstack.com/

Warning

Make sure the name of the directory in your local file system matches the name of the project's repo. For example, tanstack/form must be cloned into form (this is the default) instead of some-other-name, because that way, the doc pages won't be found.

  1. Enter the tanstack/tanstack.com directory, install the dependencies and run the app in dev mode:
cd tanstack.com
pnpm i
# The app will run on https://localhost:3000 by default
pnpm dev
  1. Now you can visit http://localhost:3000/form/latest/docs/overview in the browser and see the changes you make in tanstack/form/docs.

Note

The updated pages need to be manually reloaded in the browser.

Warning

You will need to update the docs/config.json file (in the project's repo) if you add a new doc page!

About

The marketing and docs site for all TanStack projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 84.5%
  • CSS 14.0%
  • JavaScript 1.5%