Skip to content

Commit 9d27456

Browse files
committed
feat: add TanStack Start SolidJS example
1 parent 4dd11c0 commit 9d27456

20 files changed

Lines changed: 911 additions & 2 deletions

File tree

pnpm-lock.yaml

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

rsbuild/tanstack-start-rsc/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"~/*": ["./src/*"]
1111
},
1212
"lib": ["ES2022", "DOM", "DOM.Iterable"],
13-
"types": ["node"],
13+
"types": ["node", "@rsbuild/core/client"],
1414

1515
/* Bundler mode */
1616
"moduleResolution": "bundler",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules
2+
.DS_Store
3+
dist
4+
dist-ssr
5+
*.local
6+
.env
7+
.nitro
8+
.tanstack
9+
.wrangler
10+
.output
11+
.vinxi
12+
__unconfig*
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Welcome to your new TanStack Start app!
2+
3+
# Getting Started
4+
5+
To run this application:
6+
7+
```bash
8+
npm install
9+
npm run dev
10+
```
11+
12+
# Building For Production
13+
14+
To build this application for production:
15+
16+
```bash
17+
npm run build
18+
```
19+
20+
## Styling
21+
22+
This project uses [Tailwind CSS](https://tailwindcss.com/) for styling.
23+
24+
## Routing
25+
26+
This project uses [TanStack Router](https://tanstack.com/router) with file-based routing. Routes are managed as files in `src/routes`.
27+
28+
# Learn More
29+
30+
You can learn more about all of the offerings from TanStack in the [TanStack documentation](https://tanstack.com).
31+
32+
For TanStack Start specific documentation, visit [TanStack Start](https://tanstack.com/start).
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "@rsbuild-example/tanstack-stack-solid",
3+
"private": true,
4+
"type": "module",
5+
"scripts": {
6+
"dev": "rsbuild",
7+
"build": "rsbuild build",
8+
"preview": "rsbuild preview"
9+
},
10+
"dependencies": {
11+
"@tanstack/router-plugin": "^1.133.21",
12+
"@tanstack/solid-router": "^1.170.11",
13+
"@tanstack/solid-router-devtools": "^1.167.0",
14+
"@tanstack/solid-router-ssr-query": "^1.167.1",
15+
"@tanstack/solid-start": "^1.168.19",
16+
"solid-js": "^1.9.12",
17+
"tailwindcss": "^4.1.18"
18+
},
19+
"devDependencies": {
20+
"@rsbuild/core": "^2.0.11",
21+
"@rsbuild/plugin-babel": "^1.2.1",
22+
"@rsbuild/plugin-solid": "^1.2.1",
23+
"@rsbuild/plugin-tailwindcss": "^2.0.1",
24+
"typescript": "^6.0.2"
25+
}
26+
}
3.78 KB
Binary file not shown.
5.22 KB
Loading
9.44 KB
Loading
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"short_name": "TanStack App",
3+
"name": "Create TanStack App Sample",
4+
"icons": [
5+
{
6+
"src": "favicon.ico",
7+
"sizes": "64x64 32x32 24x24 16x16",
8+
"type": "image/x-icon"
9+
},
10+
{
11+
"src": "logo192.png",
12+
"type": "image/png",
13+
"sizes": "192x192"
14+
},
15+
{
16+
"src": "logo512.png",
17+
"type": "image/png",
18+
"sizes": "512x512"
19+
}
20+
],
21+
"start_url": ".",
22+
"display": "standalone",
23+
"theme_color": "#000000",
24+
"background_color": "#ffffff"
25+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:

0 commit comments

Comments
 (0)