How to declare device ready in Framework7+vue project

I have just installed latest version of Framework7+vue. I need to declare device ready in a page to initialize a plugin. But how can I declare device ready event in F7+vue project

The answer is : you don’t have to. Legacy plugins like ‘cordova-plugin-camera’ will work without doing so. If you have special or custom initialization required by your plugin, I suggest you wrap it in ‘src/js/cordova-app.js’, this is where ‘device ready’ happens,when mounting the App, cordovaApp.init get called. Check for instance how SplashScreen is initialized.

1 Like