Code Monkey home page Code Monkey logo

uvue-crud's Introduction

uvue-crud

  • 基于 uni-app 和 uview-plus 封装的 crud 组件
  • 以配置的方式渲染列表和表单,实现一次配置,多处复用
  • 包含 uvue-list 列表组件、uvue-form 表单组件
  • 示例
  • uvue-list 文档
  • uvue-form 文档

安装

npm 安装方式

npm i uvue-crud

下载安装方式

https://ext.dcloud.net.cn/plugin?id=5071

快速上手

引入 uview

由于组件库依赖于 uview-plus,所以需要先引入 uview-plus,安装 uview-plus

注册组件

//main.js
import uvueCrud from "uvue-crud";
Vue.use(uvueCrud);

配置 easycom 规则

// pages.json
{
    "easycom": {
		    //下载安装方式
        //"^uvue(.*)": "@/uvue-crud/components/uvue-$1/uvue-$1.vue",
		    //npm安装方式
        "^uvue(.*)": "uvue-crud/components/uvue-$1/uvue-$1.vue",
    },
    "pages": [
        // ......
    ]
}

uvue-crud's People

Contributors

soullyoko avatar yshaotao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.