run ionic capacitor project in web code example
Example 1: ionic capacitor platform web
if (Capacitor.platform !== 'web') {
// TODO
}
Example 2: start ionic 5 capacitor app
ionic start [appName] [appType] --capacitor
e.g. ionic start myApp blank --capacitor