antfu / vitesse-lite

⛺️ Lightweight version of Vitesse

Home Page:https://vitesse-lite.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base doesn't seem to work correctly

gnu-lorien opened this issue · comments

Following this rather simple setup none of the generated pages seem to load correctly.

npx degit antfu/vitesse-lite my-vitesse-app
cd my-vitesse-app
pnpm i
pnpm build -- --base=/hungry/
pnpm preview -- --base=/hungry/

In this mode none of the pages can be found. I get the 404 page for everything under http://localhost:4173/hungry.

Browse to http://localhost:4173/hungry/hi/aoeu

Actual:
The 404 not found page is displayed

Expected:
The Hi, aoeu! dynamic route page

This appears to be due to hannoeru/vite-plugin-pages#18