Quick Start
This guide will help you create a basic project that can control a laser sweeper vacuum in 5 minutes.
Environment Setup
Ensure you have completed the basic environment setup for Tuya Mini Program, including:
- Install Node.js (recommended v14+)
- Install Ray development tools
- Complete Tuya developer account registration
Project Creation
Use the project template to quickly create a project:
Project Template
The project template is designed to reduce the difficulty for developers in setting up projects by organizing common categories and capabilities, and providing corresponding project source code.
Get Template:
Simple Code Example
Here is a basic map display example:
Expected Results
After completing the above steps, you will be able to:
- See device map data
- Control device start/pause cleaning
- View device real-time path
Next Steps
- Learn about Core Concepts to deeply understand key terms and design concepts of the platform
- View Ability Set to learn about complete APIs and functional modules