over 9 years ago
Hi,
Here is the steps to create cordova plugin directory structure : Install Yeoman by this command
then go to folder where you want that directory structure and run this command
Following dot UI come on the screen :
--------- | Welcome to Yeoman, | ( _U_ ) | ladies and gentlemen! | /___A__\ '__________________________' | ~ | __'.___.'_ | Y
Then and following question one by one
- [?] Enter ther plugin name: Testplug
- [?] Enter a description: asdfs
- [?] Enter the plugin ID( e.g. reverse domain notaion ) com.evontech.mobile.plugin
- [?] Enter the plugin Version: 0.0.1
[?] Enter ther plugin name: Testplug [?] Enter a description: asdfs [?] Enter the plugin ID( e.g. reverse domain notaion ) com.evontech.mobile.plugin [?] Enter the plugin Version: 0.0.1
Setup Complete
Then if you want to add iOS platform then run this command: $ yo cordova-plugin:platform add iOS if want to remove then run $ yo cordova-plugin:platform remove iOS
Now if you go in folder , you will see the complete plugin directory structure.
0 Comment(s)