HarmonyOS Next 5.0 Introduction of third-party libraries
How to port third party libraries into HarmonyOS Next DevEco Studio project
Name of third-party repository popup.har
Create a directory under the corresponding module and put popup.har into it
Under Modules oh-package.json5 add the introduction library
4. Enter the entry directory under the corresponding module and execute the installation command
ohpm install
5. Check whether the installation is successful
6. Code calling
Original Source: HarmonyOS Next 5.0 引入第三方库HarmonyOS Next 5.0 引入第三方库的引入、安装、查看安 - 掘金