You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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";
<script>
import "@splidejs/splide/css";
import Splide from "@splidejs/splide";
new Splide( '#homeslider').mount();
</script>
`
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!
The text was updated successfully, but these errors were encountered:
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";
`
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!
The text was updated successfully, but these errors were encountered: