Learn How to Copy and Reuse Pages Between Apps for Faster Development

Posted: March 18th, 2016Author:

Today we will show you how to copy pages into Appery.io projects. This very simple process is described in our documentation, but we are going to show you how to build apps faster by copying and re-using pages. 

First create a new app and add some components to the page which you would like to clone.

1

Page we want to clone

Now add another page to the project, (we won’t use this in our app), but we want to be sure that this page won’t be cloned. In our project this page will be named the ‘UselessPage’.

2

List of pages

Now export the page as an Appery.io plugin. To do this click Export and choose corresponding link:

3

Export as Appery.io plugin

This should open up a new page. You will need to add some information to your plugin such as: a name for the plugin (in our case it is CopyPage) and a category (Appery.io examples):

4

Export plugin page

Uncheck Export entire project as we will only need one page to be copied.

5

Plugin’s settings

Mark the page you would like to clone, (in our case this will be startScreen):

6

Choose the page you want to export

Click Export. That’s it – you’ve just created a copy of a page from your project. If you want to paste the page you would need to click Create New and select From Plugin. Choose the name or just created plugin (CopyPage) and click Import selected plugins

7

Find your plugin

Now if you look at the list of the pages in your app you will see that the new page is added – StartScreen_CopyPage, with all the content in it.

8

New project with cloned page