Skip to content
Source
Sign inSign up
TanStack/cli

TanStack Start new project from CLI has loads of example code even when selecting no for option "Would you like to include demo/example pages?" #409

Send to my agent
Closedpjosdev(GitHub profile, opens in a new tab) opened this issue 2 comments

Which project does this relate to?

Start

Describe the bug

TanStack Start new project from CLI has loads of example code even when selecting no for option "Would you like to include demo/example pages?".

Your Example Website or App

https://github.com/pjosdev/ts-start-example

Steps to Reproduce the Bug or Issue


Select toolchain: ESLint
Select deployment adapter: Nitro (agnostic)
Would you like to include demo/example pages? No
What add-ons would you like for your project? none
Would you like to initialise a new git repository: Yes


### Expected behavior

Something very barebones, just a __root.tsx that renders an index.tsx with maybe 'Hello TanStack Start'. No css theme, no fonts, no theme toggles etc. Basically nothing I need to remove to start clean would be great!

### Screenshots or Videos

<img width="1279" height="1154" alt="Image" src="https://github.com/user-attachments/assets/925b7bf1-3324-46a1-87f0-97b8088b1710" />

### Platform

- Router / Start Version: 1.166.11
- OS: macOS
- Bundler: Bun 1.3.10 / NPM 11.6.1


### Additional context

Thanks :)
  1. This was addressed in commit e3de582 / PR #434 (fix(create): strip all demo/example files when users opt out) on April 20. Declining demo/example pages now generates a minimal scaffold (no Header/Footer/ThemeToggle/example styles), and the demo-file filter was broadened to catch demo files in lib/, hooks/, data/, components/, store/, public/, and add-on integrations — not just routes. The fix is on main and just waiting on a release.


    Generated by Claude Code

  2. Thanks for reporting this! This looks like it was fixed by #434 and is included in CLI 0.72.2. Please try the latest version, and if you still see it, feel free to reopen this or share a fresh reproduction so we can take another look.

  3. tannerlinsley closed this

Sign in to join this conversation.