vite-plugin-taro 0.7.5 → 0.7.6

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
@@ -9,7 +9,7 @@
9
9
 
10
10
  [简体中文](README.md) | English
11
11
 
12
- Build WeChat, Alipay, TikTok Mini Programs, and Web apps with Vite 8, React 19, Taro 4, and Tailwind CSS v4.
12
+ Build WeChat, Alipay, and TikTok Mini Programs, as well as Web apps, with Vite 8, React 19, Taro 4, and Tailwind CSS v4.
13
13
 
14
14
  Website: <https://vpt.js.org>
15
15
 
@@ -21,32 +21,44 @@ Website: <https://vpt.js.org>
21
21
  npm create vite-taro@latest my-app
22
22
  ```
23
23
 
24
- Continue with the [Quick Start guide](https://vpt.js.org/guides/quick-start/).
25
-
26
- ## Sponsor
24
+ Or use pnpm (recommended):
27
25
 
28
- VPT is sponsored by [weapp.dev](https://weapp.dev). Thank you to our sponsor for supporting open-source development.
26
+ ```sh
27
+ pnpm --config.minimum-release-age=0 create vite-taro@latest my-app
28
+ ```
29
29
 
30
- weapp.dev builds an open, composable modern toolchain for Mini Program and Web development.
30
+ Continue with the [Quick Start guide](https://vpt.js.org/guides/quick-start/).
31
31
 
32
- ### React Hot Reload in WeChat DevTools
32
+ ### Hot Reload in Mini Program DevTools
33
33
 
34
34
  <video src="https://github.com/user-attachments/assets/c8289e1e-d8ad-429f-a0d9-a40656b4962a" controls autoplay muted loop playsinline width="100%"></video>
35
35
 
36
- - **Vite 8 + React 19** Build one codebase for WeChat, Alipay, TikTok Mini Programs, and Web.
36
+ - **Vite 8 + React 19** Build one codebase for WeChat, Alipay, and TikTok Mini Programs, as well as Web.
37
37
  - **Hot reload** Preserve App data, the active page, React component state, and input state while editing.
38
- - **Automatic subpackages** Use standard static and dynamic imports while vpt plans Mini Program packages automatically.
39
- - **Tailwind CSS v4 ready** Write utility classes directly; styles adapt automatically for every target.
38
+ - **Automatic subpackages** Use standard static and dynamic imports while vpt plans WeChat Mini Program subpackages automatically.
39
+ - **Tailwind CSS v4 ready** Write utility classes directly; styles adapt automatically for WeChat and Web.
40
40
  - **Built on Taro, beyond Taro** Use Taro components and APIs without the old webpack pipeline.
41
41
  - **Skyline ready** Use WeChat Skyline rendering globally or per page.
42
42
 
43
+ ## Demo
44
+
45
+ See the [Loan Genius Demo](https://github.com/sep2/vite-plugin-taro/blob/main/demo/loan-genius/README.en.md).
46
+
47
+ <img src="https://raw.githubusercontent.com/sep2/vite-plugin-taro/main/demo/loan-genius/screenshots/demo.webp" alt="Loan Genius screenshot" width="320" />
48
+
49
+ ## Sponsor
50
+
51
+ VPT is sponsored by [weapp.dev](https://weapp.dev). Thank you to our sponsor for supporting open-source development.
52
+
53
+ weapp.dev builds an open, composable modern toolchain for Mini Program and Web development.
54
+
43
55
  ## Documentation
44
56
 
45
57
  - [Quick Start](https://vpt.js.org/guides/quick-start/)
46
58
  - [AI-assisted development](https://vpt.js.org/guides/ai/)
47
59
  - [Styles](https://vpt.js.org/guides/styles/)
48
60
  - [Automatic subpackages](https://vpt.js.org/guides/automatic-subpackages/)
49
- - [Native WeChat components](https://vpt.js.org/guides/native-components/)
61
+ - [Native components](https://vpt.js.org/guides/native-components/)
50
62
  - [Hot module replacement](https://vpt.js.org/guides/hot-module-replacement/)
51
63
  - [Configuration options](https://vpt.js.org/guides/configuration/)
52
64
  - [Conditional compilation](https://vpt.js.org/guides/conditional-directives/)
package/README.md CHANGED
@@ -21,17 +21,16 @@
21
21
  npm create vite-taro@latest my-app
22
22
  ```
23
23
 
24
- 接下来阅读[快速开始](https://vpt.js.org/guides/quick-start/)。
25
-
24
+ 或者(推荐使用 pnpm)
26
25
 
27
- ## 赞助
28
-
29
- VPT 由 [weapp.dev](https://weapp.dev) 赞助,感谢赞助者对开源开发的支持。
26
+ ```sh
27
+ pnpm --config.minimum-release-age=0 create vite-taro@latest my-app
28
+ ```
30
29
 
31
- weapp.dev 致力于为小程序与 Web 构建开放、可组合的现代工具链。
30
+ 接下来阅读[快速开始](https://vpt.js.org/guides/quick-start/)。
32
31
 
33
32
 
34
- ### 已支持微信开发者工具的 React 热更新
33
+ ### 已支持小程序开发者工具的热更新
35
34
 
36
35
  <video src="https://github.com/user-attachments/assets/c8289e1e-d8ad-429f-a0d9-a40656b4962a" controls autoplay muted loop playsinline width="100%"></video>
37
36
 
@@ -42,6 +41,19 @@ weapp.dev 致力于为小程序与 Web 构建开放、可组合的现代工具
42
41
  - **基于 Taro,超越 Taro** 使用 Taro 组件和 API,摆脱旧式 webpack 链路。
43
42
  - **Skyline 就绪** 支持全局或按页面启用微信 Skyline 渲染模式。
44
43
 
44
+ ## Demo
45
+
46
+ 查看 [Loan Genius Demo](https://github.com/sep2/vite-plugin-taro/tree/main/demo/loan-genius)。
47
+
48
+ <img src="https://raw.githubusercontent.com/sep2/vite-plugin-taro/main/demo/loan-genius/screenshots/demo.webp" alt="Loan Genius screenshot" width="320" />
49
+
50
+ ## 赞助
51
+
52
+ VPT 由 [weapp.dev](https://weapp.dev) 赞助,感谢赞助者对开源开发的支持。
53
+
54
+ weapp.dev 致力于为小程序与 Web 构建开放、可组合的现代工具链。
55
+
56
+
45
57
  ## 文档
46
58
 
47
59
  - [快速开始](https://vpt.js.org/guides/quick-start/)