how did you import cordova after installing?
@Gagan how to inject cordova
, after creating f7
project by f7-cli
issue: 1. by runing any cordova
command response is
current working directory is not cordova-based project
- should I run
cordova create
in favour to create a newcordova
project - or just go by adding plugins by
cordova add corodva-plugin-plugin-name
-
after create the cordova project with f7-cli you will have something like this structure;
so cd into cordova dir, and then add any plugin you want. DO NOT modify cordova/www since this is creted after you build the project, so any change you make in cordova/www will be lost after building the project. -
no since f7-cli create it for you
-
see 1
1 Like
Use following command :
framework7 cordova plugin add your_plugin_name
1 Like
Create ‘www’ directory in the cordova directory of your application and run the command again. It should work.