File tree 6 files changed +35
-14
lines changed
6 files changed +35
-14
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ To help accelerate the migration away from `create-react-app` we created the `cr
8
8
9
9
To maintain compatability with ` create-react-app ` you can build a new application by running:
10
10
11
- | Command | Description |
12
- | -------------------------------------------------------------------------------- | ------------------------------- ------------------ |
13
- | ` pnpx create-start-app@latest my-app ` | Create a new app |
14
- | ` pnpx create-start-app@latest my-app --framework solid ` | Create a Solid app |
11
+ | Command | Description |
12
+ | ------------------------------------------------------- | ------------------ |
13
+ | ` pnpx create-start-app@latest my-app ` | Create a new app |
14
+ | ` pnpx create-start-app@latest my-app --framework solid ` | Create a Solid app |
15
15
16
16
If you don't specify a project name, the CLI will walk you through an interactive setup process:
17
17
@@ -101,9 +101,18 @@ You can launch the `create-start-app` CLI with the `--mcp` flag to enable MCP su
101
101
pnpx create-start-app@latest --mcp
102
102
```
103
103
104
- Shown below is the configuration for MCP support in Cursor.
105
-
106
- ![ MCP Configuration] ( ./images/mcp-configuration.png )
104
+ Here is the JSON configuration for MCP support in many MCP clients.
105
+
106
+ ``` json
107
+ {
108
+ "mcpServers" : {
109
+ "create-start-app" : {
110
+ "command" : " pnpx" ,
111
+ "args" : [" create-start-app@latest" , " --mcp" ]
112
+ }
113
+ }
114
+ }
115
+ ```
107
116
108
117
# Contributing
109
118
Original file line number Diff line number Diff line change 10
10
},
11
11
"repository" : {
12
12
"type" : " git" ,
13
- "url" : " https://github.com/TanStack/create-start -app.git"
13
+ "url" : " https://github.com/TanStack/create-router -app.git"
14
14
},
15
15
"homepage" : " https://tanstack.com/router" ,
16
16
"funding" : {
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ To help accelerate the migration away from `create-react-app` we created the `cr
8
8
9
9
To maintain compatability with ` create-react-app ` you can build a new application by running:
10
10
11
- | Command | Description |
12
- | -------------------------------------------------------------------------------- | ------------------------------------------------- |
11
+ | Command | Description |
12
+ | --------------------------------------------------------------------------------- | ------------------------------------------------- |
13
13
| ` pnpx create-tsrouter-app@latest my-app ` | Create a new app |
14
14
| ` pnpx create-tsrouter-app@latest my-app --template file-router ` | Create a new file based app |
15
15
| ` pnpx create-tsrouter-app@latest my-app --template typescript ` | Create a new TypeScript app using the Code Router |
@@ -142,9 +142,18 @@ You can launch the `create-tsrouter-app` CLI with the `--mcp` flag to enable MCP
142
142
pnpx create-tsrouter-app@latest --mcp
143
143
```
144
144
145
- Shown below is the configuration for MCP support in Cursor.
146
-
147
- ![ MCP Configuration] ( ./images/mcp-configuration.png )
145
+ Here is the JSON configuration for MCP support in many MCP clients.
146
+
147
+ ``` json
148
+ {
149
+ "mcpServers" : {
150
+ "create-tsrouter-app" : {
151
+ "command" : " pnpx" ,
152
+ "args" : [" create-tsrouter-app@latest" , " --mcp" ]
153
+ }
154
+ }
155
+ }
156
+ ```
148
157
149
158
# Contributing
150
159
Original file line number Diff line number Diff line change @@ -133,7 +133,10 @@ export function cli({
133
133
)
134
134
. option ( '--list-add-ons' , 'list all available add-ons' , false )
135
135
. option ( '--no-git' , 'do not create a git repository' )
136
- . option ( '--target-dir <path>' , 'the directory to create the project in' )
136
+ . option (
137
+ '--target-dir <path>' ,
138
+ 'the target directory for the application root' ,
139
+ )
137
140
. option ( '--mcp' , 'run the MCP server' , false )
138
141
. option ( '--mcp-sse' , 'run the MCP server in SSE mode' , false )
139
142
You can’t perform that action at this time.
0 commit comments