HubLensVueTencent/tmagic-editor
// archived 2026-04-07
Tencent

tmagic-editor

Frontend#Vue#TypeScript#Low-code#Editor
View on GitHub
4,891

// summary

TMagic is a visual building platform based on Vue 3.0 and TypeScript, designed to help developers quickly generate mobile H5 pages. By providing an editor core package, multi-framework runtime environments, and form rendering capabilities, the project supports developers in flexibly building custom visual editing tools. Developers can refer to the built-in Playground example project to quickly integrate and implement page building functions that meet business requirements.

// technical analysis

TMagic is a visual construction platform built on Vue 3.0 Composition API and TypeScript, designed to simplify the development process of mobile H5 pages through a modular architecture. By splitting the editor core, runtime environment, and UI components into independent npm packages, the project provides developers with high flexibility and scalability. It addresses the issues of high repetition and low efficiency in complex page development, achieving seamless integration from editor configuration to final page output through a DSL (Domain Specific Language) driven rendering mechanism.

// key highlights

01
Developed using Vue 3.0 Composition API and TypeScript, ensuring modern code and type safety.
02
Provides a multi-framework supported runtime environment, supporting Vue 2, Vue 3, and React versions to meet the rendering needs of different technology stacks.
03
Built-in form rendering engine based on Element UI, capable of quickly generating configuration forms based on JS Schema.
04
Core functions are released as npm packages, allowing developers to flexibly integrate editor and runtime capabilities according to business needs.
05
Provides a complete Playground example project to help developers quickly understand and build their own visual platforms.

// use cases

01
Quickly build a mobile H5 visual editor
02
Render DSL pages produced by the editor through multi-framework runtimes (Vue2/Vue3/React)
03
Utilize Element-UI based form rendering components to achieve dynamic generation of JS Schema configuration items

// getting started

Ensure the environment has Node.js 18+ and pnpm 9+ installed, and execute pnpm bootstrap to install project dependencies. Subsequently, run the pnpm playground command to start the example project, and visit http://localhost:8098/tmagic-editor/playground/ in your browser to start experiencing the TMagic editor.