Page 1 of 1

Copy or duplicate a complete page from one app to another (jQuery mobile)

Posted: Sun Sep 25, 2016 11:41 am
by M&M

hi,

I have a jQuery mobile app using library 2.3 and I have a newer app using the current v3.1. Is there a way to just get one of the pages (plus the required css) from the older app into the new App?

I know that pages can be used as templates within same app but how to get the page to another App? Export it as a Apperyio plugin and import it into the new App? What I am worried about is that there's a huge difference between v2.3 and 3.1. Would it cause any issues? Thanks


Copy or duplicate a complete page from one app to another (jQuery mobile)

Posted: Sun Sep 25, 2016 1:06 pm
by Serhii Kulibaba

Hello,

Yes, it is possible to do. Please be aware these libraries have different DOM and file structures. Anyway you can try to do that and see, does it fit you or not


Copy or duplicate a complete page from one app to another (jQuery mobile)

Posted: Sun Sep 25, 2016 3:38 pm
by M&M

hi,

You mentioned that "Anyway you can try to do that". You mean export the older v2.3 app as an Apperyio plugin and import it into the new v3.1 App? Btw can I know what all gets packaged into a plugin? My previous v2.3 used to have many Cordova plugins that were added manually as mentioned in the documentation. What happens to those Cordova plugins? It's ok if those don't get exported. I can use the Cordova Plugin import feature. But I would want to know what all gets packaged into the plugin (when I export an App as an Apperyio plugin)

Thanks


Copy or duplicate a complete page from one app to another (jQuery mobile)

Posted: Mon Sep 26, 2016 10:55 am
by Serhii Kulibaba

All your pages/services/ custom JS and CSS will be added to that plugin.
You are right, all 3rd-part Cordova plugins won't be added to that package, so you have to add them with a plugin import feature


Copy or duplicate a complete page from one app to another (jQuery mobile)

Posted: Tue Sep 27, 2016 2:11 am
by M&M

Ok thanks Sergiy