This is a meta-repo that tracks all the templates that Mozilla is offering for Open Web Apps.
The following templates are available:
mortar-app-stub
: a blank template for a hosted app that comes only with the basic things required to get started in app making.mortar-privileged-app-stub
: a privileged app template that demonstrates the usage of a privileged permission (systemXHR
) to download remote content.mortar-game-stub
: a minimal web game template that handles input and a render loop.mortar-list-detail
: comes with a layouts library and sets up a list-detail layout for you.mortar-tab-view
: a template with a tabbed layout.
And finally...
mortar-template-template
, a template for building other templates. You probably don't need this one, unless you want to contribute with a brand new template and don't want to start from scratch.
You can view more documentation here.
To get all the templates at the same time, just clone this repository:
git clone --recursive https://github.com/mozilla/mortar.git
Or download this ZIP that contains the latest version.
Of course, you can also separately clone the templates you're interested in.
Check out the README.md file of each template for its usage instructions.