Skip to content

SSR example #30

@JonathanDavisDev

Description

@JonathanDavisDev

Hey there! Great project, been looking into it as Inertia is very interesting. I've seen you've been actively updating this repo so here's a question.

Currently the docs make a reference to enabling SSR but there's no reference to changing the Vite config to generate a SSR bundle or an example of starting the "ssr server" mentioned here in Inertia's docs.

Is there any way you could give a quick example of your vite config necessary to rendering the app with SSR? Is it possible to start the SSR server without using the php command ("php artisan inertia:start-ssr")?

Thanks for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions