M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

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

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

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

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

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

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

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

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

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

Return to “Issues”