English | 简体中文
for docs, please visit tuya docs
for users outside Chinese mainland, please remove .npmrc
file.
$ curl https://codeload.github.com/tuya/tuya-panel-demo/tar.gz/master | tar -xz --strip=2 tuya-panel-demo-master/examples/basic
$ mv basic tuya-panel-basic-example
$ cd tuya-panel-basic-example
The RN version of the template is 0.51, and the template is no longer maintained. It is for reference only, and it is recommended to use basic-ts-0.59
The template project is the basic template, which can start all Tuya products and be used to debug the DP points of the current product.
You can scan the following QR code through the Tuya app to preview.
$ npm install && npm run start
# or
$ yarn && yarn start
Copyright © 2020