mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-14 16:13:57 +00:00
Added module loader for external modules
A simple module loader to load modules dropped into the modules folder.
This commit is contained in:
15
modules/README.md
Normal file
15
modules/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
MagicMirror
|
||||
===========
|
||||
|
||||
##Modules
|
||||
A module has to contain three files: main.js, style.css and elements.html
|
||||
Other files can be loaded from within those.
|
||||
|
||||
### elements.html
|
||||
Put your custom divs and other html elements in this file (don't include any body or header tags)
|
||||
|
||||
### main.js
|
||||
Your plugins JavaScript.
|
||||
|
||||
### style.css
|
||||
CSS for your HTML elements.
|
Reference in New Issue
Block a user