Last Updated on : 2024-06-14 18:22:11download
sdf-cli
tool to build, package, and deploy a microapp in the root directory of your project, and then push the microapp to the SaaS development platform.# If you use yarn
sudo yarn global add @tuya-sat/sdf-cli
# If you use npm
sudo npm i -g @tuya-sat/sdf-cli
# Enter developer App Key and Secret Key in sequence.
sdf config
Go to the Tuya Developer Platform and click View Development Credentials in the top right corner of the microapp list to get the App Key and Secret Key.
# If you use yarn
yarn build
# If you use npm
npm run build
After the build
is successful, run the following command:
sdf publish
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback