I am new to ionic-2 project.I just want to know how to reduce boot time of app.Because after 3 sec of splash screen , it shows white screen and takes 9 sec to start.
Try to put this on the second line of your main.ts
file
import { enableProdMode } from '@angular/core';
then before the bootstrap line put
enableProdMode();
also when building use --prod
so ionic build android --prod
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With