Skip to content

Marak/svelte5-static-site-generator-issue

Repository files navigation

svelte5-static-site-generator-issue

Start

After npm install, run the development server:

npm run dev

This all works as expected.

Building

Run the build

npm run build

You can preview the production build with npm run preview.

The Issue

When running the build directory from any non-vite host, navigate to http://localhost:4173/user/Bobby directly in the browser, it will 404

Note: If you navigate to the root page first, then click the link to /user/Bobby, it works fine. The issue is only when directly linking to that page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published