/tuya-panel-demo

Tuya IoT Panel demo provides a series of common template codes.

Primary LanguageShell

Tuya Panel Templates

English | 简体中文

This document provides development templates of common categories.

You can read the official documents for more information.

Prerequisites

  • nodejs 8+
  • npm or yarn

Running

To quickly run a panel project, run:

$ cd examples/${TemplateName}
$ npm install && npm run start
# or
$ yarn && yarn start # if you use yarn

Then, open your Tuya Smart app for debugging.

Examples

It is recommended to use the template of tuya-panel-ki 4.0.0 or above for development, and the 2.0.0 series is no longer maintained

You can check the complete list of Tuya Panel examples here.

Batch upgrade tuya-panel-kit

# 4.x & 2.x
$ sudo ./scripts/tuya-panel-kit 4.x 2.x
# 4.x
$ sudo ./scripts/tuya-panel-kit 4.x
# 2.x
$ sudo ./scripts/tuya-panel-kit "" 2.x

License

Copyright © 2020