zeon-studio / astroplate

Astroplate is a free starter template built with Astro, TailwindCSS & TypeScript providing everything you need to jumpstart your Astro project. Get started with Astroplate and save yourself hours of work!
https://zeon.studio/preview?project=astroplate
MIT License
576 stars 176 forks source link

The safelist pattern `/swiper-/` doesn't match any Tailwind CSS classes. #26

Closed Drsheppard01 closed 10 months ago

Drsheppard01 commented 10 months ago

Can u help me resolve this issue? It was when i deploy this boilerplate in github

hub.com/Drsheppard01/appimages

tfsomrat commented 10 months ago

Hey @Drsheppard01, It's not an issue, it's a warning. and if you remove the safelist, your swiper slider will break. so leave it as it is. thanks

Drsheppard01 commented 10 months ago

But swiper provide swiper pagination class and i think i has break images, 'cause tailwind just skip swiper

Deployed site: drsheppard01.github.io/appimages

tfsomrat commented 10 months ago

It has nothing to do with swiper. try to add your deployed URL into config/config.json files baseurl field. hope it will work

Drsheppard01 commented 10 months ago

Yep, i find issue It will be happening 'cause i use link drsheppard01.github.io/appimages, which didn't wrote in config file