Skip to content

[Content]:Β #1466

@cbishopvelti

Description

@cbishopvelti

πŸ“š Subject area/topic

/solid-start/building-your-application/route-prerendering.mdx

πŸ“‹ Page(s) affected (or suggested, for new content)

https://docs.solidjs.com/solid-start/building-your-application/route-prerendering

πŸ“‹ Description of content that is out-of-date or incorrect

The doc says

import { defineConfig } from "@solidjs/start/config";

But defineConfig doesn't exist in @solidjs/start/config. The template pulls import { defineConfig } from "vite";
So I'm not sure how to configure this as I can't see where to put:

prerender: {
      routes: ["/", "/about"]
    }

("@solidjs/start": "2.0.0-alpha.2")

πŸ–₯️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Metadata

Metadata

Assignees

Labels

pending reviewAwaiting review by team members.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions