Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May I exclude nuxt-swiper global css? #169 #88

Open
kyejune opened this issue Aug 31, 2023 · 3 comments
Open

May I exclude nuxt-swiper global css? #169 #88

kyejune opened this issue Aug 31, 2023 · 3 comments

Comments

@kyejune
Copy link

kyejune commented Aug 31, 2023

I don't want to add (swiper.css as global css) to my project since it overwrite my projects scoped style.

@S1ipKn0T
Copy link

any update for that cuz I want to add css styles in my project manually not import all styles to all pages! this is seo loading page problem guys!

@SuvorovDM
Copy link

Swiper and SwiperSlide are global components. They add global styles. Disabling global components may solve the problem

@cpreston321
Copy link
Owner

Please try v2 which should solve this case -> #109

Docs: https://github.com/cpreston321/nuxt-swiper/tree/feat/elements?tab=readme-ov-file#nuxt-swiper

Then within the the nuxt config:

swiper: {
 bundled: false
}

Thanks,
CP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants