$ cordova create MyApp
Result:
Creating a new cordova project.
Command:
$ cd MyApp
$ cordova platform add browser
Result:
Adding browser project...
Running command: /Users/USERNAME/.cordova/lib/npm_cache/cordova-browser/4.1.0/package/bin/create /Users/USERNAME/MyApp/platforms/browser io.cordova.hellocordova HelloCordova
Creating Browser project. Path: platforms/browser
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-whitelist@1" via npm
Installing "cordova-plugin-whitelist" for browser
Command:
$ cordova run browser
Result:
Running command: /Users/USERNAME/MyApp/platforms/browser/cordova/build
Cleaning Browser project
Running command: /Users/USERNAME/MyApp/platforms/browser/cordova/run --nobuild
Static file server running @ http://localhost:8000/index.html
CTRL + C to shut down
200 /index.html (gzip)
200 /css/index.css (gzip)
200 /cordova.js (gzip)
200 /img/logo.png
200 /js/index.js (gzip)
200 /cordova_plugins.js
404 /favicon.ico