Structure of Ionic 3
Hooks
Hooks represent the special script, to add the own build system and build own Cordova plugin. Hooks script defined in config.XML and run like '/hooks'Node_module
Node.js is like a common module implementation, this will export to make things available. if using any module in the project, import the module in the app.module. a module can encapsulate code into a single unit of code. npm install is used to install a node module for the project. npm is a node js manager.Platform
The platform used to give a new platform for an application like android, ios, windows. run the command in command prompt(ionic cordova add platform platform-name).Plugin
The plugin allows storing those plugin used in the ionic project. To add a plugin, run the command in prompt. ionic cordova plugin add cordova-plugin-camera and next steps add a native signnpm install --save @ionic-native/camera
0 Comments