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

When to apply nuxt-swiper style #116

Open
FE-jw opened this issue Feb 1, 2024 · 1 comment
Open

When to apply nuxt-swiper style #116

FE-jw opened this issue Feb 1, 2024 · 1 comment

Comments

@FE-jw
Copy link

FE-jw commented Feb 1, 2024

Hello :)
Thanks your nuxt-swiper :)

The style is applied even if the swiper component is not mounted.
Can I apply the style only when it is mounted?

test
@cpreston321
Copy link
Owner

Currently uses nuxt's css option which applies it to the header when build and startup of the app. As It's currently not supported within the current iteration of nuxt-swiper. I would try to install swiper and directly import as shown in the docs within swiperjs.

The only reason for me to not do this way - was convince of not thinking about imports etc. I will try to implement this on v2 #109!

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

2 participants