Replies: 1 comment
-
Can you try: <swiper>
<ng-template swiperSlide>Slide 1</ng-template>
<ng-template swiperSlide>Slide 2</ng-template>
<ng-template swiperSlide>Slide 3</ng-template>
</swiper> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have received a warning for using ion-slides saying ion-slide is depricated and will be removed in ionic v7. and is suggest to use swipper.js instead.
Now I followed this swiper.js tutorial on how to integrate swiper with Ionic-angular project.
Installed swiper
npm install swiper@6
added styles
app Module
gallery.component.html
gallery.component.ts
Error:
NG0304: 'swiper' is not a known element
NG0304: 'swiper-slide' is not a known element
I have tried importing the SwiperComponent
importing the SwiperComponent, then I get an Error
Error: Type SwiperComponent is part of the declarations of 2 modules
Beta Was this translation helpful? Give feedback.
All reactions