Skip to content

[Content]: Incorrect import path for defineConfig #1466

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions