zankhq / astro-starter

Astro starter template
https://astrostarter.zank.studio
MIT License
58 stars 11 forks source link

Splide slider won't load after switching to another language #31

Open Divinely5782 opened 3 months ago

Divinely5782 commented 3 months ago

Hi, i am working with your template and faced with issue, i have created a new component: Slider.astro with code: `--- import Image from "astro/components/Image.astro";

import slide1 from "@assets/images/homeslider/1.jpg"; import slide2 from "@assets/images/homeslider/2.jpg";

  • slide1
  • slide1

`

then i call it on homepage, but when i switch to another lang it shows me blank screen where slider should appear.

I disabled from layout and it worked perfectly but how to stay with them?

P.S. grabbed a new revision from your repo and still pnpm can perform build process due to Error: Could not load the "sharp" module using the win32-x64 runtime =((((((((

BUN worked, but if i use it i cant propely install useful integrations such as astro-icon.

Thank you so much for help!