almost 6 years ago
If you want to create a new project in Phone gap with Ionic framework, you can do that with the following lines:
First of all we have to install ionic, to install ionic in the system we have to run the following command in our terminal:
$ npm install -g cordova ionic
After that, we can create a new project in ionic with three templates using command as follows:
1. $ ionic start myApp blank<br/>
2. $ ionic start myApp tabs<br/>
3. $ ionic start myApp sidemenu<br/>
With one of the above commands you can install the new fresh project in ionic.
The First one defines that the app is blank and it has nothing pre-defined in it.
The second one define that it has tabs in it which are linked to separate pages and further connectivity to sub pages.
the third one defines that it has a side menu in it and the menu has some listing which is navigated to separate pages.
You can install any one of them as per the requirement.
Than after You have to navigate to the created project as:
$ cd myApp
Than after you can add the platform to the project IOS or Android with the following command:
$ ionic platform add ios
$ ionic platform add android
This will create your phone gap project with Ionic framework.
Hope this will help you creating your first project.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2021 FindNerd.com. All rights reserved.
Sign up using