Getting started

Extract it, and inside the folder, edit manifest.json to set your app name and version

In the folder, git init or set up other source control

Run domo dev to start the local dev server

Run domo publish to push your app to the server

Adding Pages

Each page in the app is build as an independent HTML and Javascript file. While this isn't a perfect setup yet, it should eventually be possible to encapsulate all your custom app logic in the pages/ subfolder, so that the rest of the framework can be safely overwritten without losing your work.

To add a new page, create two files in pages/:

pagename.html

pagename.js

Include all the code required to render the page into the html file - including the CSS specific to that page. This content is only loaded when the page itself is requested, and is destroyed from the DOM when another page loads. The .js file is handled differently - it's loaded when the app itself loads. The only function you should include here is a function to load the page itself.

For the current version, you still need to integrate your new page into index.html in two places:

In div#context-switcher, add a new hyperlink that calls the page load function

In the <!-- Libraries --> section, add a reference to your page javascript

I'm hoping to have a dynamic setup for this in future versions.

Contributions

Use GitHub issues to submit issues. Pull Requests are welcome if they address issues or add new features.

Roadmap

As of 2017-07-29:

Responsive! Some elements should collapse/show differently on smaller card sizes or in a mobile view