'ion-slide' is not a known element

I Migrated old app to ionic 7 with android 11 and I have problem with ion-slide

[ng] Error: src/app/home/home.page.html:110:21 - error NG8001: 'ion-slide' is not a known element:
[ng] 1. If 'ion-slide' is an Angular component, then verify that it is part of this module.
[ng] 2. If 'ion-slide' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
[ng] 110                     <ion-slide (click)="goToProduct(p)" *ngFor="let p of items;">
[ng]                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

How can I solve it?

This component has been deprecated in favor of using Swiper.js directly. Please see the migration guide.

1 Like