Use this template for creating new MagicMirror² modules.
See the wiki page for an in depth overview of how to get started.
MMM-Template is a module for MagicMirror² that displays ... [Module description]
In your terminal, go to the modules directory and clone the repository:
cd ~/MagicMirror/modules
git clone [GitHub url]Go to the module directory and pull the latest changes:
cd ~/MagicMirror/modules/MMM-Template
git pullTo use this module, you have to add a configuration object to the modules array in the config/config.js file.
Minimal configuration to use the module:
{
module: 'MMM-Template',
position: 'lower_third'
},Configuration with all options:
{
module: 'MMM-Template',
position: 'lower_third',
config: {
exampleContent: 'Welcome world'
}
},| Option | Possible values | Default | Description |
|---|---|---|---|
exampleContent |
string |
not available | The content to show on the page |
| Notification | Description |
|---|---|
TEMPLATE_RANDOM_TEXT |
Payload must contain the text that needs to be shown on this module |
npm install- Install devDependencies like ESLint.node --run lint- Run linting and formatter checks.node --run lint:fix- Fix linting and formatter issues.
This project is licensed under the MIT License - see the LICENSE file for details.
All notable changes to this project will be documented in the CHANGELOG.md file.
