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

alloy-velocity

v1.0.27

Published

基于vxe-table的Vue3组件库

Downloads

23

Readme

alloy-velocity

基于 vxe-table 的 Vue3 组件库,提供开箱即用的表格、表单、搜索组件。

特性

开箱即用: 提供完整的表格、表单、搜索解决方案
🚀 高性能: 基于 vxe-table 构建,支持大数据量渲染
🎨 可定制: 支持主题定制和组件配置
📝 TypeScript: 完整的 TypeScript 类型支持
🌳 Tree Shaking: 支持按需加载

安装

npm install alloy-velocity
# 或
yarn add alloy-velocity
# 或
pnpm add alloy-velocity

快速开始

全局注册

import { createApp } from 'vue'
import Velocity from 'alloy-velocity'

const app = createApp(App)
app.use(Velocity)

按需导入(推荐)

// 方式1:从主包导入
import { VeForm, VeList, VeSearch } from 'alloy-velocity'

// 方式2:单独导入(Tree Shaking友好)
import VeForm from 'alloy-velocity/form'
import VeList from 'alloy-velocity/list'
import VeSearch from 'alloy-velocity/search'

// 工具函数按需导入
import { setGlobalConfig, getGlobalConfig } from 'alloy-velocity/utils'
import useForm from 'alloy-velocity/hooks'

组件

VeForm - 动态表单组件

基于 JSON Schema 的动态表单组件,支持各种表单控件。

<template>
  <VeForm
    :schema="formSchema"
    v-model="formData"
    @submit="handleSubmit"
  />
</template>

VeList - 高级表格组件

集成搜索、分页、操作的完整表格解决方案。

<template>
  <VeList
    :columns="tableColumns"
    :data="tableData"
    :search-schema="searchSchema"
    :pagination="paginationConfig"
  />
</template>

VeSearch - 搜索表单组件

可折叠、响应式的搜索表单组件。

<template>
  <VeSearch
    :schema="searchSchema"
    v-model="searchData"
    @search="handleSearch"
    @reset="handleReset"
  />
</template>

类型支持

import type {
  VeTableColumn,
  VePaginationConfig,
  VeSearchFormItem,
  FormActionProps,
  SchemaProps
} from 'alloy-velocity'

依赖要求

  • Vue 3.0+
  • vxe-table 4.0+

许可证

MIT © STB Team