Go教程

EdgexGo2.0学习-20 编译EdgeX Go UI

本文主要是介绍EdgexGo2.0学习-20 编译EdgeX Go UI,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

下载edgex-ui-go-main
进入edgex-ui-go-main\web
1、安装angular
npm install -g @angular/cli@11.0.3
npm install
2、编译
--localize参数必须
ng build --prod --localize
image

3、去edgex-ui-go-main\web\dist\web
拷贝en-US,zh到edgex-ui-go-main\cmd\edgex-ui-server\static\web
4、去edgex-ui-go-main
make build
make docker
即可
5、运行效果
image

这篇关于EdgexGo2.0学习-20 编译EdgeX Go UI的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!