We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start
resource are not loading correctly, when using pre-rendered html, including css, link tags
// app/router.tsx export function createRouter() { const router = createTanStackRouter({ routeTree, scrollRestoration: true, basepath: "/shadcn-tanstack-form", }); return router; }
// app.confitg.ts { ... server: { baseURL: "/shadcn-tanstack-form", prerender: { routes: ["/"], crawlLinks: true, } },
some resource are still loading from the "/" instead of "/shadcn-tanstack-form"
https://github.com/FatahChan/shadcn-tanstack-form/tree/start-asset-pre-render-issue
pnpm build
npx serve .output/public
localhost:3000/shadcn-tanstack-form
some resources will try to load from localhost:3000/ instead of `localhost:3000/shadcn-tanstack-form/
localhost:3000/
all resources should load from shadcn-tanstack-form
shadcn-tanstack-form
node 22
I am trying to serve pre-rendered pages on github pages, that requires the repo name to be appened to the url
The text was updated successfully, but these errors were encountered:
When fixing this issue, we should add a new end-to-end sandbox, that uses a non / base path.
/
Sorry, something went wrong.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Which project does this relate to?
Start
Describe the bug
resource are not loading correctly, when using pre-rendered html, including css, link tags
some resource are still loading from the "/" instead of "/shadcn-tanstack-form"
Your Example Website or App
https://github.com/FatahChan/shadcn-tanstack-form/tree/start-asset-pre-render-issue
Steps to Reproduce the Bug or Issue
pnpm build
npx serve .output/public
localhost:3000/shadcn-tanstack-form
some resources will try to load from
localhost:3000/
instead of `localhost:3000/shadcn-tanstack-form/Expected behavior
all resources should load from
shadcn-tanstack-form
Screenshots or Videos
Platform
node 22
Additional context
I am trying to serve pre-rendered pages on github pages, that requires the repo name to be appened to the url
The text was updated successfully, but these errors were encountered: