Added module loader for external modules

A simple module loader to load modules dropped into the modules folder.
This commit is contained in:
Paul-Vincent Roll
2016-01-27 15:51:36 +01:00
parent 5ca05a3e34
commit c7974e4fa0
6 changed files with 29 additions and 0 deletions

15
modules/README.md Normal file
View 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.