Skip to content

Nayacco/xcrud

Repository files navigation

xcrud GitHub Actions status | GoldSubmarine/xcrud

xcrud 是一个基于 element-ui & Vue 实现快速增删改查的组件,通过 json 配置表单,摆脱繁琐的变量和 html,是开发后台应用的利器。

Documentation

文档风格模仿 element-ui ,参见 文档

Install

npm install xcrud -S
# or
yarn add xcrud

Getting started

import Vue from "vue";
import App from "./App.vue";
import router from "./router";

import Element from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import Xcrud from "xcrud";
// import Xcrud from "xcrud/package/index.js"; // 源码版,需要配置babel编译Xcrud

Vue.use(Element);
Vue.use(Xcrud, {
  // your global theme config
});

new Vue({
  router,
    render: h => h(App)
}).$mount("#app");

License

MIT

Copyright (c) 2019-present, charles

About

A simplified crud component based on element-ui & Vue

Resources

License

Stars

Watchers

Forks

Languages