Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/framework/react/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@ title: Installation

You can install TanStack Router with any [NPM](https://npmjs.com) package manager.

```sh
npm install @tanstack/react-router
```bash
npm i @tanstack/react-router
# or
pnpm add @tanstack/react-router
#or
yarn add @tanstack/react-router
#or
bun add @tanstack/react-router
```

TanStack Router is currently only compatible with React and ReactDOM. If you would like to contribute to the React Native adapter, please reach out to us on [Discord](https://tlinz.com/discord).
Expand Down
8 changes: 7 additions & 1 deletion docs/framework/react/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ File based route generation (through Vite, and other supported bundlers) is the
### Install the Vite Plugin and the Router Devtools

```bash
npm install --save-dev @tanstack/router-plugin @tanstack/router-devtools
npm i -D @tanstack/router-plugin @tanstack/router-devtools
# or
pnpm add -D @tanstack/router-plugin @tanstack/router-devtools
# or
yarn add -D @tanstack/router-plugin @tanstack/router-devtools
# or
bun add -D @tanstack/router-plugin @tanstack/router-devtools
```

### Configure the Vite Plugin
Expand Down