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

  1. In the root directory of the component project, run the npm run pack command.
    npm run pack
    The command creates a .zip file with the same name as the project.
  2. Upload the .zip package to your IoT Studio project. For more information, see Upload the component package and screenshot.