Skip to content
Source
Sign inSign up
TanStack/cli

fix(create): missing header/footer in router template #426

Openouvreboite(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/426/headopened

Showing 6 changed files with 49 additions and 2 deletions (loading 3).

x
0 of 6 viewed, 6 left
6 additions and 0 deletions.changeset/router-only-react-layout.mdAdded
View file
@@ -0,0 +1,6 @@
+---
+'@tanstack/create': patch
+'@tanstack/cli': patch
+---
+​
+Restore the header and footer in the React Router-only starter when examples are enabled.
6 additions and 0 deletionspackages/cli/tests-e2e/helpers.tsModified
View file
@@ -27,6 +27,7 @@
blank?: boolean
deployment?: string
routerOnly?: boolean
+ examples?: boolean
template?: string
addOns?: Array<string>
postCreateAddOns?: Array<string>
@@ -372,6 +373,7 @@
bundler = 'vite',
packageManager = 'pnpm',
routerOnly = false,
+ examples,
} = options
const appDir = join(rootDir, appName)
const cleanup = async () => {
@@ -395,6 +397,10 @@
createArgs.push('--router-only')