Check out example codes for "ionic generate resources". It will help you in understanding the concepts better.

Code Example 1

ionic cordova resources android
ionic cordova resources ios

Code Example 2

$ ionic cordova resources android

Learn ReactJs, React Native from akashmittal.com