Skip to content

Repository files navigation

VPT

npm version Vite license

简体中文 | English

使用 Vite 8、React 19、Taro 4 和 Tailwind CSS v4 构建微信小程序与 Web 应用。

官网:https://vpt.js.org

快速开始

npm create vite-taro@latest my-app

接下来阅读快速开始

已支持微信开发者工具的 React 热更新

vpt-hmr-demo.mp4

  • Vite 8 + React 19 基于 Vite 生态,一份代码覆盖微信小程序与 Web。
  • 热更新 编辑代码时保留 App 数据、当前页面、React 组件状态与输入状态。
  • 全自动分包 使用标准静态与动态导入,由 vpt 自动规划微信小程序分包。
  • Tailwind CSS v4 开箱即用 直接书写工具类,微信与 Web 样式自动适配。
  • 基于 Taro,超越 Taro 使用 Taro 组件和 API,摆脱旧式 webpack 链路。
  • Skyline 就绪 支持全局或按页面启用微信 Skyline 渲染模式。

文档

许可证

MIT

About

Build WeChat Mini Apps with the latest standard frontend stack: Vite 8, React 19, and Tailwind CSS v4.

Resources

Stars

39 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages