element-plus-crx

1.1.4 • Public • Published

Element-Plus-Crx

npm

文档

安装使用

npm install element-plus-crx --save

特性

  • Vue 3 Composition AP
  • TypeScript 编写

数据配置

  • 数据配置表单/表格,极简的思想,完全的数据驱动,拥有绝对的灵活性。

扩展组件

  • 更多丰富的扩展组件,在 ElementPlus 没有找到的这里或许会有。

快捷使用

  • 适配双语言,黑暗模式,完整的typescript提示,更方便的全局配置。

docs

如此简单

<template>
  <ElForm label-width="80px" :model="form.model">
    <AgelFormGrid :items="form.items" :span="8"> </AgelFormGrid>
  </ElForm>
  <AgelTable :data="table.data" :columns="table.columns"> </AgelTable>
</template>

<script lang="ts" setup>
import { reactive } from 'vue'

const arr = [
  { label: '名称', prop: "name" },
  { label: '日期', prop: 'date' },
  { label: '地址', prop: 'address'},
]

const form = reactive({
  model: {},
  items: arr
})

const table = reactive({
  data: [],
  columns: arr
})
</script>

Package Sidebar

Install

npm i element-plus-crx

Weekly Downloads

30

Version

1.1.4

License

MIT

Unpacked Size

96.9 kB

Total Files

50

Last publish

Collaborators

  • agrass-npm