Monday, February 22, 2016

Build mobile apps with Onsen

1. Install Cordova package

$ sudo npm install -g cordova
For more details how to use Cordova tool, please refer to Cordova documentation.

2. Select template

Select one of the templates on the download page.

3. Add platform

You need to add the platform SDK to the project to run on the simulator or device.
$ cd /path/to/the/project
$ cordova platform add ios (or android)

4. Run on the simulator

The following command will run the application in the simulator.
$ cordova emulate

Reference

https://onsen.io/guide/getting_started.html

Related Posts:

  • 10 Best Hybrid Mobile App UI Frameworks: HTML5, CSS and JS Native developers love working with native code but that doesn't always go well with the business case or result in effective use of effort and time. We often see scenarios where developers end up building same mobile app fo… Read More
  • Build mobile apps with Onsen 1. Install Cordova package $ sudo npm install -g cordova For more details how to use Cordova tool, please refer to Cordova documentation. 2. Select template Select one of the templates on the download page. 3. A… Read More
  • Build mobile apps with Framework7 How to Build Framework7 Project Cd to project folder Install npm (http://www.npmjs.com) npm install grunt Install Grunt (http://www.gruntjs.com) npm install -g grunt-cli npm install grunt Then call grunt compile C… Read More
  • Build mobile apps faster with Ionic Install Ionic First, install Node.js 4 (Node 5 does not work at the moment!). Then, install the latest Cordova and Ionic command-line tools. $ npm install -g cordova ionic Start a project run cmd as Admin… Read More

0 comments:

Post a Comment