Skip to content
This repository

A collection of Open Web App templates

branch: master
README.md

Mortar

A collection of templates to kickstart app development

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.

Usage

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.

Something went wrong with that request. Please try again.