I would like to know what is the suggested strategy for code sharing between Cordova project and a web site.
The SPA site and Cordova App are basically 95% identical. Except few API calls the Kendo ui SPA app and the cordova app are the same.
Currently , When working with VS I need to open 2 separate projects , first is a "regular" web app and the second it Cordova app (both in TypeScript).
I would like to hear suggestion what is the best way to share all this code between those projects.
Currently i;m just sharing files between projects (adding files as links from one projects)
I guess there might be wiser and more structural ways to achieve such code sharing.
Any ideas ?