Package local project files
更新时间:
复制 MD 格式
After you finish developing the component, run the following command in the root directory of the component project to package the project into a .zip file.
Prerequisites
You have completed local development and testing. For more information, see Local development and testing.Procedure
- In the root directory of the component project, run the npm run pack command.
npm run packThe command creates a .zip file with the same name as the project. - Upload the .zip package to your IoT Studio project. For more information, see Upload the component package and screenshot.
该文章对您有帮助吗?