Skip to content

Netlify, Vite and SPA mode #138

@cliveportman

Description

@cliveportman

Deploying to Netlify, I've always found adding
"start": "sirv public -s"

to sort out the issue of routes returning a 404. But it's not working for me with this project. Is it Vite? If so, what's the solution? Adding the same to package.json makes no difference.

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