You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`--template <type>`: Choose between `file-router`, `typescript`, or `javascript`
47
-
-`--tailwind`: Enable Tailwind CSS
48
39
-`--package-manager`: Specify your preferred package manager (`npm`, `yarn`, `pnpm`, `bun`, or `deno`)
49
40
-`--toolchain`: Specify your toolchain solution for formatting/linting (`biome`, `eslint+prettier`)
50
41
-`--no-git`: Do not initialize a git repository
@@ -58,43 +49,13 @@ What you'll get is a Vite application that uses TanStack Router. All the files w
58
49
59
50
`create-start-app` is everything you loved about CRA but implemented with modern tools and best practices, on top of the popular TanStack set of libraries. Which includes [@tanstack/react-query](https://tanstack.com/query/latest) and [@tanstack/react-router](https://tanstack.com/router/latest).
60
51
61
-
## Routing Options
62
-
63
-
### File Based Routing (Recommended)
64
-
65
-
File Based Routing is the default option when using the interactive CLI. The location of the home page will be `app/routes/index.tsx`. This approach provides a more intuitive and maintainable way to structure your routes.
If you prefer traditional code-based routing, you can select it in the interactive CLI or specify it by using either the `typescript` or `javascript` template:
- For Code Based Routing, you can choose between TypeScript and JavaScript
87
-
- Enable TypeScript explicitly with `--template typescript`
88
-
89
-
### Tailwind CSS
90
-
91
-
Enable Tailwind CSS either through the interactive CLI or by adding the `--tailwind` flag. This will automatically configure [Tailwind V4](https://tailwindcss.com/).
92
-
93
54
### Package Manager
94
55
95
56
Choose your preferred package manager (`npm`, `bun`, `yarn`, `pnpm`, or `deno`) either through the interactive CLI or using the `--package-manager` flag.
96
57
97
-
Extensive documentation on using the TanStack Router, migrating to a File Base Routing approach, as well as integrating [@tanstack/react-query](https://tanstack.com/query/latest) and [@tanstack/store](https://tanstack.com/store/latest) can be found in the generated `README.md` for your project.
58
+
Extensive documentation on using the TanStack Start, as well as integrating [@tanstack/react-query](https://tanstack.com/query/latest) and [@tanstack/store](https://tanstack.com/store/latest) can be found in the generated `README.md` for your project.
98
59
99
60
### Toolchain
100
61
@@ -109,37 +70,35 @@ Setting this flag to `eslint+prettier` will configure it as your toolchain of ch
109
70
You can enable add-on selection:
110
71
111
72
```bash
112
-
npx create-start-app@latest --add-ons
73
+
pnpx create-start-app@latest --add-ons
113
74
```
114
75
115
76
This will prompt you to select the add-ons you want to enable during application creation.
116
77
117
78
You can enable specific add-ons directly by adding a comma separated list of add-on names to the `--add-ons` flag. For example:
Will get you a list of all available add-ons for Solid that are compatible with the File Router.
136
-
137
96
## MCP (Model Context Protocol) Support (experimental)
138
97
139
-
You can launch the `create-start-app` CLI with the `--mcp` flag to enable MCP support. Use this in your MCP enabled IDE to allow the Agent model to generate TanStack Router applications.
98
+
You can launch the `create-start-app` CLI with the `--mcp` flag to enable MCP support. Use this in your MCP enabled IDE to allow the Agent model to generate TanStack Start applications.
140
99
141
100
```bash
142
-
npx create-start-app@latest --mcp
101
+
pnpx create-start-app@latest --mcp
143
102
```
144
103
145
104
Shown below is the configuration for MCP support in Cursor.
If you prefer traditional code-based routing, you can select it in the interactive CLI or specify it by using either the `typescript` or `javascript` template:
Will get you a list of all available add-ons for Solid that are compatible with the File Router.
@@ -139,7 +139,7 @@ Will get you a list of all available add-ons for Solid that are compatible with
139
139
You can launch the `create-tsrouter-app` CLI with the `--mcp` flag to enable MCP support. Use this in your MCP enabled IDE to allow the Agent model to generate TanStack Router applications.
140
140
141
141
```bash
142
-
npx create-tsrouter-app@latest --mcp
142
+
pnpx create-tsrouter-app@latest --mcp
143
143
```
144
144
145
145
Shown below is the configuration for MCP support in Cursor.
0 commit comments