SveltePress / sveltepress

A content centered site build tool, build on top of Sveltekit.
https://sveltepress.site
MIT License
362 stars 21 forks source link

Development mode does not work: Theme does not update and links are broken #262

Closed reednaa closed 7 months ago

reednaa commented 8 months ago

Describe the bug

Developer mode is broken: Link do not load on first try (HMR update fails).

I am not sure if related but it is also not possible to set custom themes on a fresh installation. Instead the custom theme flashes and then the default theme appears.

Reproduction

git clone https://github.com/SveltePress/sveltepress.git
cd sveltepress/packages/docs-site/
pnpm install
pnpm dev

Go to website. Any first click on an unclicked link results in a crash.

Logs

No response

Screenshots

No response

Severity

blocking all usage of sveltepress

Blackman99 commented 7 months ago

Please make sure you are not using safari or IE browser and provide your environment information: node version, pnpm version, browser version

reednaa commented 7 months ago

Why doesn't Safari work?

Blackman99 commented 7 months ago

Safari is basically the next IE.