修改文件夹“html”里边的indel.html和custom.js两个文件,然后用vscode里边的控制台切换到“code”文件夹后运行gulp命令(前提是你安装了),然后它会自己帮你把html文件夹的内容分割处理并打包生成编译所需要的文件。
最后提示:
[23:42:27] Starting 'webui'...
[23:42:27] Starting 'webui_small'...
[23:42:27] Starting 'webui_sensor'...
[23:42:27] Starting 'webui_light'...
[23:42:27] Starting 'webui_rfbridge'...
[23:42:27] Starting 'webui_rfm69'...
[23:42:27] Starting 'webui_all'...
Image index.small.html.gz size: 51007 bytes
Image index.all.html.gz size: 61779 bytes
Image index.rfbridge.html.gz size: 51892 bytes
Image index.rfm69.html.gz size: 81326 bytes
Image index.sensor.html.gz size: 52829 bytes
Image index.light.html.gz size: 59971 bytes
[23:42:42] Finished 'webui_small' after 15 s
[23:42:42] Finished 'webui_rfbridge' after 15 s
[23:42:42] Finished 'webui_all' after 15 s
[23:42:42] Finished 'webui_sensor' after 15 s
[23:42:42] Finished 'webui_rfm69' after 15 s
[23:42:42] Finished 'webui_light' after 15 s
[23:42:42] Finished 'webui' after 15 s
[23:42:42] Starting 'default'...
[23:42:42] Finished 'default' after 56 μs
大概你就成功修改html的所有文件了。 |