How could I build a production version of my app to the browser?
ionic build --prod
causes
β You cannot run iOS unless you are on Mac OSX.
How could I build a production version of my app to the browser?
ionic build --prod
causes
β You cannot run iOS unless you are on Mac OSX.
you have to add the platform ios first which will create the projct by doing
ionic platform add ios.
Then import the project into xcode on a mac and from there you can build.
I donβt want to develop for iOS.
A just want to create a PWA.
You can use npm run ionic:build --prod
.