@vureact/compiler-core 1.5.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -1,19 +1,17 @@
1
1
  # @vureact/compiler-core
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@vureact/compiler-core.svg?style=flat-square)](https://vureact.top/)
4
- [![npm downloads](https://img.shields.io/npm/dm/@vureact/compiler-core.svg?style=flat-square)](https://www.npmjs.com/package/@vureact/compiler-core)
3
+ A compiler that allows you to write React 18+ applications using Vue 3 syntax.
4
+
5
+ [![Npm](https://img.shields.io/npm/v/@vureact/compiler-core.svg?label=Npm&style=flat-square)](https://vureact.top/en/)
6
+ [![Total Downloads](https://img.shields.io/npm/dt/@vureact/compiler-core?label=Total%20Downloads&style=flat-square)](https://www.npmjs.com/package/@vureact/compiler-core)
7
+ [![Monthly Downloads](https://img.shields.io/npm/dm/@vureact/compiler-core?label=Monthly%20Downloads&style=flat-square)](https://www.npmjs.com/package/@vureact/compiler-core)
8
+ [![Node](https://img.shields.io/badge/node-%3E%3D19.0.0-green?label=Node)](https://nodejs.org/)
5
9
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
+ [![Vue 3](https://img.shields.io/badge/Vue-3.x-42b883)](https://vuejs.org/)
11
+ [![React 18+](https://img.shields.io/badge/React-18%2B-61dafb)](https://reactjs.org/)
6
12
 
7
13
  English | [简体中文](./README.md)
8
14
 
9
- ## What is VuReact?
10
-
11
- [VuReact](http://vureact.top/en) (pronounced `/vjuːˈriːækt/`) is a Semantic-Aware Vue 3 to React 18+ compiler for progressive migration.
12
-
13
- It is not a simple syntax conversion, but **semantic-level compilation**: it understands the intent of Vue code and generates code that adheres to React best practices. It consists of two parts: **compile-time transformation** + **runtime adaptation**.
14
-
15
- The core strategy is **"convention over configuration"** — through clear compilation conventions, it ensures stable and reliable conversion, making it especially suitable for **progressive migration** scenarios.
16
-
17
15
  ## Quick Start
18
16
 
19
17
  This section will guide you through creating, compiling, and running your first VuReact project; alternatively, you can check out the [playground](https://codesandbox.io/p/github/vureact-js/example-crm-admin-backend/master).
@@ -279,8 +277,7 @@ If necessary, you can choose [☣️ Mixed Coding](https://vureact.top/guide/min
279
277
  ## 🔗 Links
280
278
 
281
279
  - GitHub: <https://github.com/vureact-js/core>
282
- - Gitee: <https://gitee.com/vureact-js/core>
283
- - Documentation: [https://vureact.top](https://vureact.top/)
280
+ - Documentation: <https://vureact.top/en>
284
281
  - Playground:
285
282
  - CRM Admin Dashboard (Standard): <https://codesandbox.io/p/github/vureact-js/example-crm-admin-backend/master>
286
283
  - Customer Support Hub (Mixed): <https://codesandbox.io/p/github/vureact-js/example-customer-support-hub/master?import=true>
package/README.md CHANGED
@@ -1,21 +1,17 @@
1
1
  # @vureact/compiler-core
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/@vureact/compiler-core.svg?style=flat-square)](https://vureact.top/)
4
- [![npm downloads](https://img.shields.io/npm/dm/@vureact/compiler-core.svg?style=flat-square)](https://www.npmjs.com/package/@vureact/compiler-core)
3
+ 一个让你用 Vue 3 语法编写 React 18+ 应用的编译器。
4
+
5
+ [![Npm](https://img.shields.io/npm/v/@vureact/compiler-core.svg?label=Npm&style=flat-square)](https://vureact.top/)
6
+ [![Total Downloads](https://img.shields.io/npm/dt/@vureact/compiler-core?label=Total%20Downloads&style=flat-square)](https://www.npmjs.com/package/@vureact/compiler-core)
7
+ [![Monthly Downloads](https://img.shields.io/npm/dm/@vureact/compiler-core?label=Monthly%20Downloads&style=flat-square)](https://www.npmjs.com/package/@vureact/compiler-core)
8
+ [![Node](https://img.shields.io/badge/node-%3E%3D19.0.0-green?label=Node)](https://nodejs.org/)
5
9
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
10
  [![Vue 3](https://img.shields.io/badge/Vue-3.x-42b883)](https://vuejs.org/)
7
11
  [![React 18+](https://img.shields.io/badge/React-18%2B-61dafb)](https://reactjs.org/)
8
12
 
9
13
  简体中文 | [English](./README.en.md)
10
14
 
11
- ## 什么是 VuReact?
12
-
13
- [VuReact](http://vureact.top)(发音 `/vjuːˈriːækt/`)是一个渐进式语义驱动的 Vue 3 → React 18+ 迁移编译器
14
-
15
- 它不是简单的语法转换,而是**语义级编译**:理解 Vue 代码的意图,生成符合 React 最佳实践的代码。由**编译时转换** + **运行时适配**两部分构成。
16
-
17
- 核心策略是 **“约定优先”** ——通过明确的编译约定,确保转换稳定可靠,尤其适合**渐进式迁移**场景。
18
-
19
15
  ## 快速开始
20
16
 
21
17
  本节将引导你完成第一个 VuReact 项目的创建、编译和运行;或者选择查看 [CodeSandbox 在线案例](https://codesandbox.io/p/github/vureact-js/example-crm-admin-backend/master)。