How to deploy for all three platforms: ios, android and web too?

if you not need Cordova use:
npm run ionic:build --prod
and copy all from the www folder to your Webserver
or if you need Cordova
then

ionic cordova platform add browser
ionic cordova build browser --prod --release

and copy all from the /platforms/browser/www folder to your webserver

3 Likes