制作自己logo,格式为.svg,可参考原logo。
复制到tingsboard源码ui-ngx\src\assets目录下
找到源码ui-ngx\src\app\shared\components\logo.component.ts文件
修改logo = require(新logo地址).default;
找到源码ui-ngx\src\app\modules\home\home.component.ts文件
修改logo = require(新logo地址).default;
找到源码ui-ngx\src\environments\environment.ts和environment.prod.ts文件
修改appTitle = 标题名称
修改defaultLang = 默认语言
找到源码ui-ngx\src\index.html文件
修改title = 标题名称
找到源码ui-ngx\src\theme.scss文件
编译后生成thingsboard-windows.zip,把zip中的\lib\thingsboard-3.1.0.jar解压。注意大小大约150M,实际上是springBoot的jar包。
停止运行中的thingsboard,替换\lib\thingsboard-3.1.0.jar,重新启动即可。