I created a new project using sidemenu. After enabled service-workers, and run an audit with lighthouse, I get a lot of bad performance (main.css specialy)
To launch my PWA , I do :
npm run ionic:build --prod
ionic cordova emulate browser --livereload
If you use ionic cordova emulate browser to serve your app, I think it will do a dev build. So to test the performance of a production build you have to run ionic build --prod and then serve the contents of www with some tool (or upload it to a server).
Regarding the file size of main.css, one easy thing you can do is remove all unused colors from the $colors array in src/theme/variables.scss. Ideally you will only have one or two colors left. This will reduce the file size already quite a bit. For more advanced stuff, see https://julienrenaux.fr/2017/07/20/optimized-ionic-angular-css-bundle-for-pwas/.
Furthermore Ionic 4 will introduce lazy loading for css, which will bring further performance improvements and the steps from the post above will not be necessary anymore.
Really liked to lean angular, and applied it with ionic. I saw like ionic will give the choose of the framework when we create a new projectt, like read, angular… Right ?
Is there any article about new feature? I dont find