Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The marketing and docs site for all TanStack projects

NotificationsYou must be signed in to change notification settings

TanStack/tanstack.com

Repository files navigation

This site is built with TanStack Router!

It's deployed automagically with Netlify!

Development

From your terminal:

pnpm installpnpm 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 forReact Charts are hosted onhttps://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'sTanStack/form) and preview them locally :

  1. Create a new directory calledtanstack.
mkdir tanstack
  1. Enter the directory and clone this repo and the repo of the project there.
cd tanstackgit clone git@github.com:TanStack/tanstack.com.gitgit clone git@github.com:TanStack/form.git

Note

Yourtanstack 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 intoform (this is the default) instead ofsome-other-name, because that way, the doc pages won't be found.

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

Note

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

Warning

You will need to update thedocs/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


[8]ページ先頭

©2009-2025 Movatter.jp