Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions packages/create/src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const START_TEMPLATES = [
"with-prisma",
"with-solid-styled",
"with-tailwindcss",
"with-tanstack-router",
"with-trpc",
"with-unocss",
"with-vitest",
Expand All @@ -86,21 +85,19 @@ export type StartTemplate = (typeof START_TEMPLATES)[number];
const START_TEMPLATES_V2 = [
"basic",
"bare",
"with-solidbase",
"hackernews",
"notes",
"with-auth",
"with-authjs",
"with-drizzle",
"with-mdx",
"with-prisma",
"with-solid-styled",
"with-solidbase",
"with-strict-csp",
"with-tailwindcss",
"with-tanstack-router",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i actually don't think the with-tanstack-router one works at the moment

@nerdchanii nerdchanii Jul 20, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i actually don't think the with-tanstack-router one works at the moment

Thank you for the comment.

I tested the template and confirmed the issue as you mentioned (CSR works fine, but an error occurs on the SSR path).

Would it be better to only include fully functional templates here? I think this comes down to the Solid community's UX goals and philosophy, so I'd love to hear your thoughts.

I originally opened this PR to sync the template list between the v2 templates list and this Repository.

What would be the best way forward?
Personally, if removing this line is the recommended approach, I think closing this PR and opening a fresh one might be healthier for context hygiene (especially considering future AI workflow).

So, I think we can choose two options:

  1. Comment out or remove with-tanstack-router from the list
  2. Update the with-tanstack-router template

P.S. Although option 2 should probably be treated as a separate issue from this PR, I've investigated the root cause and put together a fix. I'll leave those details in a separate comment below.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think just remove the with-tanstack-router from t he list would be fine

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the PR to remove with-tanstack-router from the list. I left the deep-dive analysis and potential fixes in the comment below as well

"with-trpc",
"with-unocss",
"with-vitest",
"with-strict-csp",
"with-tanstack-router",
] as const satisfies string[];

export type StartTemplateV2 = (typeof START_TEMPLATES_V2)[number];
Expand Down