Simple Magic Mirror module written in Javascript demonstrating use of the core module file (frontend) and node helper (backend) in addition to using the nunjucks templates for rendering data.
See Module Development Documentation for more information.
-
Navigate to the
MagicMirror/modules
directory and execute the following commandgit clone https://github.com/ismarslomic/MMM-Hello-World.git
-
Change into the
MMM-Hello-World
module folder and install runtime dependencies withcd MMM-Hello-World npm install --omit=dev
To use this module, add the following configuration block to the modules array in
the config/config.js
file:
var config = {
modules: [
{
module: 'MMM-Hello-World',
config: {
text: 'Hello world Ismar!'
}
}
]
}