Skip to content

start-basic-static example renders blank pages #5472

@kahnclusions

Description

@kahnclusions

Which project does this relate to?

Router

Describe the bug

Solid Basic Static example does not render page content, only the navigation links at the top.

Your Example Website or App

https://github.com/TanStack/router/tree/main/examples/react/start-basic-static
(or solid https://github.com/TanStack/router/tree/main/examples/solid/start-basic-static )

Steps to Reproduce the Bug or Issue

  • Clone the example: npx gitpick TanStack/router/tree/main/examples/react/start-basic-static start-basic-static
  • ( or for solid): npx gitpick TanStack/router/tree/main/examples/solid/start-basic-static start-basic-static
  • Install: cd start-basic-static and pnpm install
  • Run: pnpm dev
  • Go to https://localhost:3000 and see nothing is rendered below the nav bar for any page except the not found route.

Expected behavior

see "Welcome home!!!" rendered on the home page. Navigating to other pages should see their content too.

Screenshots or Videos

Image

Platform

  • Router / Start Version: [e.g. 1.121.0]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Browser Version: [e.g. 91.1]
  • Bundler: [e.g. vite]
  • Bundler Version: [e.g. 7.0.0]

Additional context

I haven't made any changes, just clone the example and try to install and run it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions