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

fast-crud-ui

v1.1.7

Published

> 一个简单的组件库, 快速实现表格CRUD, 支持强大、灵活的筛选、排序、新增和数据编辑功能。 > 并且扩展性高、配置灵活。

Readme

fast-crud-ui

一个简单的组件库, 快速实现表格CRUD, 支持强大、灵活的筛选、排序、新增和数据编辑功能。 并且扩展性高、配置灵活。

说明:

**fast-crud基于[email protected] + [email protected], fast-crud-ui打包不会包含这两个组件,你必须在项目里单独安装并正确注册。 **

针对兼容性, 理论上vue2.x和element-ui较高版本应该都支持。

如果针对element-ui你采用的是按需部分引入,请确保以下element-ui组件正确注册, 否则fast-crud-ui中部分内容将无法正常展示:

Table, TableColumn, Input, InputNumber, Checkbox, CheckboxGroup, Select, Option, DatePicker, Switch, TimePicker, Radio, Upload, Row, Col, Button, Empty, Popover, Form, FormItem, Dropdown, DropdownMenu, DropdownItem, Pagination, Link

组件列表

  • FastTable: 核心组件
  • FastTableColumn: 只读列组件
  • FastTableColumnInput: 文本输入框列组件
  • FastTableColumnNumber: 数字输入框列组件
  • FastTableColumnTextarea: 文本域输入框列组件
  • FastTableColumnSelect: 下拉框列组件
  • FastTableColumnSwitch: switch列组件
  • FastTableColumnDatePicker: 日期选择列组件
  • FastTableColumnTimePicker: 时间选择列组件
  • FastTableColumnImg: 图片列组件
  • FastTableColumnFile: 文件列组件
  • FastTableColumnObject: 对象选择组件

你也可以直接使用原生的el-table-column,但是需要注意的是由于行数据被封装, 所以需要解构一下: {row, editRow},使用row来做单元格数据展示

快速开始

安装

npm install fast-crud-ui

配置

import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"
import FastCrudUI from 'fast-crud-ui'
import 'fast-crud-ui/lib/style.css'
import http from "@/http" // 假设这里可导入你的axios实例

Vue.use(ElementUI)
Vue.use(FastCrudUI, {
    $http: http // axios实例, 必须提供!
})

new Vue({
    render: (h) => h(App)
}).$mount('#app')

使用


<template>
  <fast-table :option="tableOption">
    <fast-table-column-img prop="avatarUrl" label="头像"/>
    <fast-table-column-input prop="name" label="姓名"/>
    <fast-table-column-number prop="age" label="年龄"/>
    <fast-table-column-select prop="sex" label="性别"
                              :options="[{label: '男', value: '1'}, {label: '女', value: '0'}]"/>
    <fast-table-column-date-picker prop="createTime" label="创建时间" type="datetime" :editable="false"/>
  </fast-table>
</template>

<script>
  import {FastTableOption} from "fast-crud-ui";

  export default {
    name: "EasyDemo",
    data() {
      return {
        tableOption: new FastTableOption({
          module: 'student',
          // 更多配置参考文档或者完整示例(./src/example/full/FullDemo.vue)
        })
      }
    }
  }
</script>

更多使用文档参见: 这里, 版本迭代参见这里