摘要
开源鸿蒙是鸿蒙的开源版本,由华为开源并由开放原子委员会进行孵化和运营。通常情况下开源鸿蒙下的应用是使用ArkTS开发语言进行开发。本文提供了一种开源鸿蒙下基于Docker的前后端开发流程,使用ArkTS的Web组件作为前端的连接器,在docker下拉起nginx作为后端,实现单一设备下的一体化开发。
OpenHarmony is an open source version of HarmonyOS that is open sourced by Huawei and incubated and operated by the OpenAtom Foundation.Normally,applications under OpenHarmony are developed using the ArkTS programming language.This article presents an integrated front-end and back-end development process based on Docker under OpenHarmony.It utilizes ArkTS's Web components as front-end connectors and deploys Nginx as the back-end under Docker,achieving unified development for a single device.
作者
李竞择
范承宇
欧阳迪
LI Jing-Ze;FAN Cheng-Yu;OUYang Di(China Ordnance Equipment Group Automation Institute Co.,Ltd.,Mianyang Sichuan621000,China)
出处
《机电产品开发与创新》
2024年第2期51-53,共3页
Development & Innovation of Machinery & Electrical Products