Skip to content

One codebase to generate a web app, desktop app and mobile app, using the Ember.js ecosystem and build tools.

Notifications You must be signed in to change notification settings

mike-north/MWDCON-example

Repository files navigation

Write Once, Run Everywhere

This example illustrates how the Ember.js ecosystem makes it easy to build an app that can run on the web, as a standalone desktop app, or as a mobile app distributable in the app store from a single codebase.

To learn more about how powerful this is, and the ways you can work with this kind of setup to cheaply and easily build a cross-platform app, check out my talk at Mobile+Web Devcon in San Francisco, July 14-16 2015.

Setup

# After cloning this project
npm install; bower install

Web

ember s

Then visit http://localhost 4200 Web App

Desktop App

ember nw

The desktop app will launch automatically once the build process completes Desktop App

Mobile App (iOS)

ember cordova:build

Once this command completes, the XCode project in the ./cordova/platforms/ios folder will have been updated with the latest app code. Open this project in XCode and run it by clicking the "Run" button

XCode Run

And the mobile app will launch in the iOS simulator device of your choice

Mobile App

Further Reading / Useful Links

About

One codebase to generate a web app, desktop app and mobile app, using the Ember.js ecosystem and build tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published