npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vite-plugin-taro

v0.8.3

Published

Vite 8 plugin for building one React/Taro codebase for WeChat, Alipay, TikTok, and H5 targets.

Readme

VPT

npm version npm downloads Vite Rolldown CI coverage license

简体中文 | English

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

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

推荐使用 AI 开发: 阅读 VPT AI 开发指南,让编程助手创建项目并完成开发、测试和验证。

快速开始

npm create vite-taro@latest my-app

或者(推荐使用 pnpm)

pnpm --config.minimum-release-age=0 create vite-taro@latest my-app

接下来阅读快速开始。

已支持小程序开发者工具的热更新

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

Demo

查看 Loan Genius Demo,此项目迁移自 wuba/Taro-Mortgage-Calculator。

查看 Skyline 共享元素 Demo,体验原生页面转场动画。

查看默认模板,使用 React 自定义 Tabs 与首帧同步预渲染,切换页面不闪屏。

赞助

VPT 由 weapp.dev 赞助,感谢赞助者对开源开发的支持。

weapp.dev 致力于为小程序与 Web 构建开放、可组合的现代工具链。

文档

许可证

MIT