TanStackT
TanStack3mo ago
1 reply
full-green

Start RC does not pre-render

Hello, I'm upgrading from beta and I cannot predering work.

My config is:
export default defineConfig({
  plugins: [
    tsconfigPaths({
      projects: ["./tsconfig.json"],
    }),
    devtools(),
    tanstackStart({
      sitemap: {
        enabled: true,
        host: "https://www.instao.fr",
      },
      prerender: {
        enabled: true,
        crawlLinks: true,
        concurrency: 10,
        retryCount: 3,
        retryDelay: 3000,
      },
      pages: [
        {
          path: "/",
          prerender: {
            enabled: true,
            crawlLinks: false,
          },
          sitemap: {
            priority: 1,
            changefreq: "daily",
          },
        },
        {
          path: "/blog",
          prerender: {
            enabled: true,
            crawlLinks: false,
          },
          sitemap: {
            priority: 0.8,
            changefreq: "weekly",
          },
        },
      ],
    }),
    nitroV2Plugin({
      preset: "vercel",
    }),
    viteReact(),
  ],
});

There is no pre-rendered pages in the .vercel/output.
Is there anything else to enable for this to work ?
Was this page helpful?