I want to use storage in ionic (based on angular), so I did all that described here: https://ionicframework.com/docs/v3/storage/ and import it like this:
import { IonicStorageModule } from '@ionic/storage';
but I get this error:
export 'IonicStorageModule' was not found in '@ionic/storage'
My ionic version is 6.13.1.
The use of storage was changed in ionic and now you need to import it as following:
import { IonicStorageModule } from '@ionic/storage-angular';
As described in details here: https://github.com/ionic-team/ionic-storage
For angular need to install as
npm install --save @ionic/storage-angular
Then
import { IonicStorageModule } from '@ionic/storage-angular';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With