TanStack / 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?"

Open
#409 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
185
Avg merge
18h 45m
Merged PRs (30d)
2

Description

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

bun create @tanstack/start@latest

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
Image
Platform
  • Router / Start Version: 1.166.11
  • OS: macOS
  • Bundler: Bun 1.3.10 / NPM 11.6.1
Additional context

Thanks :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The entry point is the bun create @tanstack/start@latest CLI flow; the issue does not name a source file or test. Reproduce it with the documented answers and trace the no-demo selection through project generation. Done means a no-demo project contains only the minimal starter, without example pages, styling, fonts, or theme toggles.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun, typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.