Skip to content

Commit 1580f65

Browse files
authored
chore: add tanstack start example (#467)
1 parent aa9a313 commit 1580f65

55 files changed

Lines changed: 4084 additions & 49 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pnpm-lock.yaml

Lines changed: 1350 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rsbuild/tanstack-start/.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
node_modules
2+
package-lock.json
3+
yarn.lock
4+
5+
.DS_Store
6+
.cache
7+
.env
8+
.vercel
9+
.output
10+
.nitro
11+
/build/
12+
/api/
13+
/server/build
14+
/public/build# Sentry Config File
15+
.env.sentry-build-plugin
16+
/test-results/
17+
/playwright-report/
18+
/blob-report/
19+
/playwright/.cache/
20+
.tanstack

rsbuild/tanstack-start/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# TanStack Start - Basic Example
2+
3+
This is the basic TanStack Start example, demonstrating the fundamentals of building applications with TanStack Router and TanStack Start.
4+
5+
- [TanStack Router Docs](https://tanstack.com/router)
6+
7+
It's deployed automagically with Netlify!
8+
9+
- [Netlify](https://netlify.com/)
10+
11+
## Start a new project based on this example
12+
13+
To start a new project based on this example, run:
14+
15+
```sh
16+
npx gitpick TanStack/router/tree/main/examples/react/start-basic start-basic
17+
```
18+
19+
## Getting Started
20+
21+
From your terminal:
22+
23+
```sh
24+
pnpm install
25+
pnpm dev
26+
```
27+
28+
This starts your app in development mode, rebuilding assets on file changes.
29+
30+
## Build
31+
32+
To build the app for production:
33+
34+
```sh
35+
pnpm build
36+
```
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "tanstack-start-example-rscs",
3+
"private": true,
4+
"sideEffects": false,
5+
"type": "module",
6+
"scripts": {
7+
"dev": "rsbuild dev",
8+
"build": "rsbuild build && tsc --noEmit",
9+
"start": "node server.js"
10+
},
11+
"dependencies": {
12+
"@tanstack/react-router": "^1.170.11",
13+
"@tanstack/react-router-devtools": "^1.167.0",
14+
"@tanstack/react-start": "^1.168.19",
15+
"dexie": "^4.0.10",
16+
"react": "^19.2.0",
17+
"react-dom": "^19.2.0",
18+
"tailwind-merge": "^3.6.0",
19+
"zod": "^4.4.3",
20+
"zustand": "^5.0.10"
21+
},
22+
"devDependencies": {
23+
"@rsbuild/core": "^2.0.9",
24+
"@rsbuild/plugin-react": "^2.0.0",
25+
"@rsbuild/plugin-tailwindcss": "^2.0.1",
26+
"@types/node": "22.10.2",
27+
"@types/react": "^19.2.2",
28+
"@types/react-dom": "^19.2.2",
29+
"nitro": "npm:nitro-nightly@latest",
30+
"tailwindcss": "^4.1.18",
31+
"typescript": "^5.7.2"
32+
}
33+
}
29.3 KB
Loading
107 KB
Loading
26.6 KB
Loading
626 KB
Loading
647 KB
Loading
316 KB
Loading

0 commit comments

Comments
 (0)