https://github.com/marak/svelte5-static-site-generator-issue
https://github.com/marak/svelte5-static-site-generator-issue
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/marak/svelte5-static-site-generator-issue
- Owner: Marak
- Created: 2025-11-26T03:15:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-11-26T03:53:40.000Z (7 months ago)
- Last Synced: 2025-11-29T05:43:58.163Z (7 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# svelte5-static-site-generator-issue
### Start
After `npm install`, run the development server:
```sh
npm run dev
```
This all works as expected.
### Building
Run the build
```sh
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.