MagicMirror
===========
##Modules
A module has to contain four files: `main.js`, `style.css`, `elements.html` and `include.php`.
Other files can be loaded from within those.
### include.php
If you happen to need any other css or js file from remote host or a local file you can add it in `include.php`.
It will be loaded before the module's main javascript, the module's css and the module's elements.
Local files starting without `http` or `https` will be loaded from the `root` of the module folder.
If you have a file called `test.js` in your module just add `test.js` if you have the same file but in a folder called `js` inside your module folder add `js/test.js`. Same is valid for css files. Remote files will be loaded normally from the remote host, no need to specify anything.
### elements.html
Put your custom divs and other html elements in this file (don't include any body or header tags). Any refrence of `[module]` will be replaced with the path to the module's root. `[module]/img/test.png` for example becomes `modules/name_of_module/img/test.png`.
### main.js
Your plugin's JavaScript.
### style.css
CSS for your HTML elements. All module elements get loaded into a `div`. The `id` is the name of the module's folder, which acts as the module's name.
没有合适的资源?快使用搜索试试~ 我知道了~
magicmirror.rar_MagicMirror_magic mirror mqtt_magicmirro_树莓派 机器人
共79个文件
js:18个
php:9个
woff:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 150 浏览量
2022-07-15
02:12:05
上传
评论
收藏 22.04MB RAR 举报
温馨提示
基于树莓派的魔镜,增加语言控制wukong 机器人
资源推荐
资源详情
资源评论
收起资源包目录
magicmirror.rar (79个子文件)
magicmirror
command.txt 226B
MagicMirror-master
css
weather-icons.css 6KB
font-awesome.css 32KB
main.css 6KB
index.php 2KB
pi
blink.php 116B
README.md 56B
i.php 2KB
control.php 162B
10dfa9ec8a136327245b2866978fa0ec08fac735.jpg 39KB
0178be554529d40000019ae93c02b1.jpg@2o.jpg 124KB
js
news
news.js 4KB
jquery.js 82KB
config.js 2KB
temp_hum
tem_hum.js 4KB
paho
edl-v10 2KB
CONTRIBUTING.md 2KB
epl-v10 11KB
mqttws31.js 79KB
mqttws31-min.js 29KB
about.html 2KB
ical_parser.js 7KB
compliments
compliments.js 2KB
weather
weather.js 6KB
calendar
calendar.js 7KB
moment-with-locales.min.js 167KB
main.js 1KB
rrule.js 59KB
jquery.feedToJSON.js 1KB
version
version.js 583B
time
time.js 3KB
socket.io.min.js 44KB
controllers
functions
gzip.php 1KB
calendar.php 84B
modules.php 1KB
hash.php 92B
font
fontawesome-webfont.eot 69KB
weathericons-regular-webfont.ttf 49KB
fontawesome-webfont.woff 82KB
MFYueHeiNoncommercial-ExLight.ttf 3.5MB
weathericons-regular-webfont.woff 32KB
HelveticaNeue-Medium.ttf 257KB
MFYueHeiNoncommercial-Light.eot 1.41MB
HelveticaNeue-Medium.eot 257KB
MFYueHeiNoncommercial-ExLight.woff 1.79MB
HelveticaNeue-UltraLight.ttf 253KB
HelveticaNeue-Medium.svg 383KB
HelveticaNeue-UltraLight.svg 401KB
MFYueHeiNoncommercial-UltLight.eot 1.15MB
HelveticaNeue-Light.ttf 264KB
fontawesome-webfont.svg 357KB
MFYueHeiNoncommercial-ExLight.svg 7.06MB
HelveticaNeue-UltraLight.eot 253KB
weathericons-regular-webfont.eot 28KB
HelveticaNeue-Light.eot 264KB
HelveticaNeue-Medium.woff 119KB
fontawesome-webfont.woff2 65KB
HelveticaNeue-Light.svg 338KB
MFYueHeiNoncommercial-ExLight.eot 1.39MB
MFYueHeiNoncommercial-UltLight.woff 1.47MB
MFYueHeiNoncommercial-UltLight.svg 6.99MB
HelveticaNeue-UltraLight.woff 118KB
MFYueHeiNoncommercial-Light.woff 1.81MB
HelveticaNeue-Light.woff 125KB
fontawesome-webfont.ttf 139KB
MFYueHeiNoncommercial-Light.ttf 3.77MB
MFYueHeiNoncommercial-Light.svg 7.08MB
weathericons-regular-webfont.svg 94KB
MFYueHeiNoncommercial-UltLight.ttf 2.9MB
.gitignore 1KB
logo.png 175KB
config.c 3KB
README.md 890B
modules
test-module
elements.html 61B
main.js 37B
include.php 588B
style.css 17B
README.md 1KB
图灵.txt 434B
共 79 条
- 1
资源评论
周楷雯
- 粉丝: 78
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功