ionic 3 to ionic 4 upgrade code example
Example 1: How To Update ionic
npm uninstall -g ionic
npm install -g ionic
Example 2: upgrading ionic 5
npm install @ionic/angular@latest @ionic/angular-toolkit@latest --save
npm uninstall -g ionic
npm install -g ionic
npm install @ionic/angular@latest @ionic/angular-toolkit@latest --save