2023-08-25 11:35:16 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 09:39:35 +08:00
2023-08-25 11:35:16 +08:00
2023-08-25 11:35:16 +08:00

Tango LowCode Designer

A source code based low-code designer from the NetEase Cloud Music Develop Team.

English | 简体中文

Features

  • Tested in the production environment of NetEase Cloud Music, can be flexibly integrated into low-code platforms, local development tools, etc.
  • Based on source code AST, with no private DSL and protocol Real-time code generation capability, supporting source code in and source code out
  • Out-of-the-box front-end low-code designer, providing flexible and easy-to-use designer React components
  • Developed using TypeScript, providing complete type definition files

🎯 Compatibility

  • Modern browsersChrome >= 80, Edge >= 80, last 2 safari versions, last 2 firefox versions

📄 Usage

Install the low-code designer

npm install @music163/tango-designer

Initialize the low-code designer engine

import { createEngine } form '@music163/tango-designer';

// init designer engine
const engine = createEngine({
  entry: '/src/index.js',
  files: sampleFiles,
  componentPrototypes: prototypes as any,
});

Initialize the drag-and-drop engine

import { DndQuery } form '@music163/tango-designer';

const sandboxQuery = new DndQuery({
  context: 'iframe',
});

Initialize the designer layout (WIP)

Find details from Documentation Site

💻 Development

  • Node.js >= 16.0.0
  • Yarn >= 1.22.0

Development Quick Start

# clone the repo
git clone https://github.com/NetEase/tango.git

# enter the project root
cd tango

# install dependencies
yarn

# start the designer playground app
yarn start

🤝 Contributing

Please read the github contribution guide first。

  • Clone the repository
  • Create a branch
  • Commit and push your code
  • Open a Pull Request

💗 Acknowledgments

Thanks to the NetEase Cloud Music Front-end team, Public Technology team, Live Broadcasting Technology team, and all the colleagues who participated in the Tango project.

Thank you to CodeSandbox for providing the Sandpack project, which provides powerful online code execution capabilities for Tango.

Description
A code driven low-code builder, develop low-code app on your codebase. 低代码平台
Readme MIT 10 MiB
Languages
TypeScript 98.9%
JavaScript 1.1%