Previewing your app in a browser

You can use the serve command to load your app in your default browser on your computer. To quickly preview your layout or check basic HTML5 or JavaScript functionality, view your app on your local browser. Note that testing in your local browser does not replace the need to test your app on a BlackBerry 10 device or simulator. Only a device or simulator can effectively replicate the experience of a user in a real world setting.

To preview your app in your local browser:

  1. On the command line, navigate to your project folder.
  2. Run the following command:
    webworks serve
  3. In your browser, navigate to the following url:

Last modified: 2014-10-09

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus