@esmx/rspack-vue 3.0.0-rc.18 → 3.0.0-rc.19
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/LICENSE +1 -1
- package/README.md +43 -21
- package/README.zh-CN.md +51 -0
- package/package.json +10 -11
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,29 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://www.esmnext.com/logo.svg?t=2025" width="120" alt="Esmx Logo" />
|
|
3
|
+
<h1>@esmx/rspack-vue</h1>
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<a href="https://www.npmjs.com/package/@esmx/rspack-vue">
|
|
7
|
+
<img src="https://img.shields.io/npm/v/@esmx/rspack-vue.svg" alt="npm version" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://github.com/esmnext/esmx/actions/workflows/build.yml">
|
|
10
|
+
<img src="https://github.com/esmnext/esmx/actions/workflows/build.yml/badge.svg" alt="Build" />
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://www.esmnext.com/coverage/">
|
|
13
|
+
<img src="https://img.shields.io/badge/coverage-live%20report-brightgreen" alt="Coverage Report" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://nodejs.org/">
|
|
16
|
+
<img src="https://img.shields.io/node/v/@esmx/rspack-vue.svg" alt="node version" />
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://bundlephobia.com/package/@esmx/rspack-vue">
|
|
19
|
+
<img src="https://img.shields.io/bundlephobia/minzip/@esmx/rspack-vue" alt="size" />
|
|
20
|
+
</a>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<p>A high-performance Vue integration for Esmx microfrontend framework, providing Vue 2/3 support with SSR and Module Federation capabilities</p>
|
|
24
|
+
|
|
25
|
+
<p>
|
|
26
|
+
English | <a href="https://github.com/esmnext/esmx/blob/master/packages/rspack-vue/README.zh-CN.md">中文</a>
|
|
27
|
+
</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
## 🚀 Features
|
|
31
|
+
|
|
32
|
+
- **Universal Vue Support** - Supports both Vue 2.7+ and Vue 3 applications
|
|
33
|
+
- **High-Performance Build** - Ultra-fast building based on Rspack with Vue optimization
|
|
34
|
+
- **Module Federation** - Built-in module federation capabilities for microfrontend architecture
|
|
35
|
+
- **SSR Support** - Complete server-side rendering support for Vue applications
|
|
36
|
+
- **Hot Module Replacement** - Fast development experience with Vue component hot reloading
|
|
37
|
+
- **TypeScript Ready** - Full TypeScript support with excellent developer experience
|
|
38
|
+
|
|
39
|
+
## 📦 Installation
|
|
14
40
|
|
|
15
41
|
```bash
|
|
16
|
-
pnpm add @esmx/rspack-vue -D
|
|
17
|
-
# 或
|
|
18
|
-
yarn add @esmx/rspack-vue -D
|
|
19
|
-
# 或
|
|
20
42
|
npm install @esmx/rspack-vue -D
|
|
21
43
|
```
|
|
22
44
|
|
|
23
|
-
##
|
|
45
|
+
## 📚 Documentation
|
|
24
46
|
|
|
25
|
-
|
|
47
|
+
Visit the [official documentation](https://www.esmnext.com) for detailed usage guides and API reference.
|
|
26
48
|
|
|
27
|
-
##
|
|
49
|
+
## 📄 License
|
|
28
50
|
|
|
29
|
-
MIT
|
|
51
|
+
MIT © [Esmx Team](https://github.com/esmnext/esmx)
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://www.esmnext.com/logo.svg?t=2025" width="120" alt="Esmx Logo" />
|
|
3
|
+
<h1>@esmx/rspack-vue</h1>
|
|
4
|
+
|
|
5
|
+
<div>
|
|
6
|
+
<a href="https://www.npmjs.com/package/@esmx/rspack-vue">
|
|
7
|
+
<img src="https://img.shields.io/npm/v/@esmx/rspack-vue.svg" alt="npm version" />
|
|
8
|
+
</a>
|
|
9
|
+
<a href="https://github.com/esmnext/esmx/actions/workflows/build.yml">
|
|
10
|
+
<img src="https://github.com/esmnext/esmx/actions/workflows/build.yml/badge.svg" alt="Build" />
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://www.esmnext.com/coverage/">
|
|
13
|
+
<img src="https://img.shields.io/badge/coverage-live%20report-brightgreen" alt="Coverage Report" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://nodejs.org/">
|
|
16
|
+
<img src="https://img.shields.io/node/v/@esmx/rspack-vue.svg" alt="node version" />
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://bundlephobia.com/package/@esmx/rspack-vue">
|
|
19
|
+
<img src="https://img.shields.io/bundlephobia/minzip/@esmx/rspack-vue" alt="size" />
|
|
20
|
+
</a>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<p>为 Esmx 微前端框架提供的高性能 Vue 集成,支持 Vue 2/3 并具备 SSR 和模块联邦能力</p>
|
|
24
|
+
|
|
25
|
+
<p>
|
|
26
|
+
<a href="https://github.com/esmnext/esmx/blob/master/packages/rspack-vue/README.md">English</a> | 中文
|
|
27
|
+
</p>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
## 🚀 特性
|
|
31
|
+
|
|
32
|
+
- **通用 Vue 支持** - 支持 Vue 2.7+ 和 Vue 3 应用
|
|
33
|
+
- **高性能构建** - 基于 Rspack 的超快构建,配有 Vue 优化
|
|
34
|
+
- **模块联邦** - 内置模块联邦能力,支持微前端架构
|
|
35
|
+
- **SSR 支持** - 完整的 Vue 应用服务端渲染支持
|
|
36
|
+
- **热模块替换** - Vue 组件热重载,快速开发体验
|
|
37
|
+
- **TypeScript 就绪** - 完整的 TypeScript 支持,出色的开发体验
|
|
38
|
+
|
|
39
|
+
## 📦 安装
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npm install @esmx/rspack-vue -D
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## 📚 文档
|
|
46
|
+
|
|
47
|
+
访问[官方文档](https://www.esmnext.com)获取详细的使用指南和 API 参考。
|
|
48
|
+
|
|
49
|
+
## 📄 许可证
|
|
50
|
+
|
|
51
|
+
MIT © [Esmx Team](https://github.com/esmnext/esmx)
|
package/package.json
CHANGED
|
@@ -56,24 +56,23 @@
|
|
|
56
56
|
"vue": ">=2.7.8 || >=3.0.0"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@esmx/rspack": "3.0.0-rc.
|
|
59
|
+
"@esmx/rspack": "3.0.0-rc.19",
|
|
60
60
|
"vue-style-loader": "^4.1.3",
|
|
61
61
|
"vue2-loader": "npm:vue-loader@15.11.1",
|
|
62
62
|
"vue3-loader": "npm:vue-loader@^17.4.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@biomejs/biome": "1.9.4",
|
|
66
|
-
"@esmx/core": "3.0.0-rc.
|
|
67
|
-
"@esmx/lint": "3.0.0-rc.
|
|
68
|
-
"@
|
|
69
|
-
"@
|
|
70
|
-
"
|
|
71
|
-
"stylelint": "16.15.0",
|
|
66
|
+
"@esmx/core": "3.0.0-rc.19",
|
|
67
|
+
"@esmx/lint": "3.0.0-rc.19",
|
|
68
|
+
"@types/node": "22.15.18",
|
|
69
|
+
"@vitest/coverage-v8": "3.1.3",
|
|
70
|
+
"stylelint": "16.19.1",
|
|
72
71
|
"typescript": "5.8.2",
|
|
73
|
-
"unbuild": "
|
|
74
|
-
"vitest": "3.
|
|
72
|
+
"unbuild": "3.5.0",
|
|
73
|
+
"vitest": "3.1.3"
|
|
75
74
|
},
|
|
76
|
-
"version": "3.0.0-rc.
|
|
75
|
+
"version": "3.0.0-rc.19",
|
|
77
76
|
"type": "module",
|
|
78
77
|
"private": false,
|
|
79
78
|
"exports": {
|
|
@@ -92,5 +91,5 @@
|
|
|
92
91
|
"template",
|
|
93
92
|
"public"
|
|
94
93
|
],
|
|
95
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "83a9cfac4a91b2b54ac576e120bb4541f4cce9d6"
|
|
96
95
|
}
|