Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Create new project in Ionic framework

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 111
    Comment on it

    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
    

    or

    $ ionic platform add android
    

    This will create your phone gap project with Ionic framework.

    Hope this will help you creating your first project.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: