Skip to content

Latest commit

 

History

History

scenario

Tuya Panel Switch Template

English | 简体中文

for docs, please visit tuya docs

for users outside Chinese mainland, please remove .npmrc file.

Attention

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

Download manually

$ curl https://codeload.github.com/tuya/tuya-panel-demo/tar.gz/master | tar -xz --strip=2 tuya-panel-demo-master/examples/scenario
$ mv scenario tuya-panel-scenario-example
$ cd tuya-panel-scenario-example

Introduction

This template is applicable to the scene, supporting the following functions:

  1. Scene linkage creation
  2. Scene linkage binding/unbinding
  3. Scene linkage trigger

You can scan the following QR code through the Tuya app to preview.

scenario

Running

$ npm install && npm run start
# or
$ yarn && yarn start

License

Copyright © 2020