Open sferoze opened 9 years ago
Here is what worked for us.
We actually develop on each app separately at first just by commenting out one package or the other. So if we work on mobile we just have added the mobile package, but change the client to web. And if we work on desktop we just have added the desktop package. And if we want to work with both, we set the mobile to cordova, desktop to web, and then use meteor run ios
.
This is a good solution
Hey Compy,
A co-worker of mine found this package as a good solution for developing a mobile and desktop application with the same codebase.
The all packages approach is nice.
But just curious how you development. It would work by running
meteor run ios
in which you could work with both mobile and desktop but sometimes the mobile simulator is not the best environment to develop with.What if you prefer to develop both desktop and mobile apps in the browser? And then only sometimes testing in simulator or building for production just like the solution here.
But when developing what do you think would be an elegant solution to run both in browser? Serve the mobile app at /mobile route?