Ionic 4 rc importing problem

#1

Hi, i installed ionic 4 rc and i having troubles to migrate. I copied the src carpet to the new project and after installing the plugins the project throw error when serving. When i see the project on the IDE i see problems with importing e.g.:

import { Slides } from ‘@ionic/angular’;

The IDE says that Slides has no exported members. Maybe @ionic/angular changed in the last upgrade :thinking:

#2

I don’t have right now the reference here but just use IonSlides instead of Slides. Most or all component are now exposed with an Ion prefix (for example same for Content which is now IonContent)

3 Likes
Importing Content from @ionic/angular not working!
#3

Great! that was the problem, thanks dude!

1 Like