I am using a PNG logo for my landing page, stored in public/images
or src/assets/images
.
After syncing with Bolt, I notice the following issues:
- PNG files in the public folder are not visible in the File Panel.
- PNG files in src/assets are often replaced with placeholder text after sync, making them unusable.
- In preview/build, my logo is missing (404 error or broken image).
What I tried
- Using the Public folder with
<img src="/images/logo.png" />
→ results in 404 after sync. - Using an assets import → the file becomes corrupted after sync.
- Embedding the image as Base64 directly in the code → still does not display correctly.
- Adjusting paths with LLMs (Kimi K2, Claude 4 Sonnet) → the issue persists.
Does anyone know this problem and could find a solution?