Description
The create-solid's SolidStart v2 template created website cannot run properly on production server, since it always returns 404.
Step To Procedure
pnpm create solid@latest
- Choose SolidStart V2 + Type Script + bare preset
pnpm i, then pnpm build && pnpm start
- Open
http://localhost:5173
- It returns 404 immediately
Additional Info
- Tested on npm and pnpm, bare preset and unocss preset, none of it worked.
- The
pnpm review seems fine, though unocss stylesheets is lost on unocss preset
- Dev server works fine
- SolidStart V1 works fine
Description
The create-solid's SolidStart v2 template created website cannot run properly on production server, since it always returns 404.
Step To Procedure
pnpm create solid@latestpnpm i, thenpnpm build && pnpm starthttp://localhost:5173Additional Info
pnpm reviewseems fine, though unocss stylesheets is lost on unocss preset