diff --git a/src/content/docs/workers/framework-guides/web-apps/tanstack.mdx b/src/content/docs/workers/framework-guides/web-apps/tanstack.mdx index d4f6b360169ba7..d39f8a9b538343 100644 --- a/src/content/docs/workers/framework-guides/web-apps/tanstack.mdx +++ b/src/content/docs/workers/framework-guides/web-apps/tanstack.mdx @@ -20,12 +20,14 @@ In this guide, you will create a new [TanStack Start](https://tanstack.com/start ## 1. Set up a new project -Start by cloning the Cloudflare example from the official TanStack repository. +Use the [`create-cloudflare`](https://www.npmjs.com/package/create-cloudflare) CLI (C3) to set up a new project. C3 will create a new project directory, initiate TanStack's official setup tool, and provide the option to deploy instantly. + +To use `create-cloudflare` to create a new TanStack Start project with Workers Assets, run the following command: After setting up your project, change your directory by running the following command: @@ -34,10 +36,6 @@ After setting up your project, change your directory by running the following co cd my-tanstack-app ``` -And install the project's dependencies with: - - - ## 2. Develop locally After you have created your project, run the following command in the project directory to start a local development server. This will allow you to preview your project locally during development. @@ -97,8 +95,6 @@ function RouteComponent() { } ``` -See `src/routes/index.tsx` for an example. - :::note Running the `cf-typegen` script: