I’m creating a new ionic project and entering the this command;
ionic integrations enable capacitor
I get an error when I want to imports them from the @capacitor/core:
what is the cause of this error?
could it be caused by the following error I got after this “ionic integrations enable capacitor” code:
Capacitor 3.0 was released yesterday, and with that, which includes a few new changes to plugins/APIs.
Please read the release blog
Make sure you are reading capacitor 3 docs and not capacitor 2 docs, that way of importing plugins is the capacitor 2 way.
Capacitor 3 docs should be the default, but there is a small version switcher on the top left.