element-plus-generator
基于element-plus封装的表格、表单生成器
安装
-
步骤 1: 安装依赖
# 选择一个你喜欢的包管理器 # NPM $ npm install element-plus element-plus-generator --save # Yarn $ yarn add element-plus element-plus-generator # pnpm $ pnpm install element-plus element-plus-generator -
步骤 2: 引入依赖
全局注册
import App from './App.vue' import ElementPlus from 'element-plus' import 'element-plus/dist/index.css' import { FormGenerator, TableGenerator } from 'element-plus-generator' const app = createApp(App) app.component('FormGenerator', FormGenerator); app.component('TableGenerator', TableGenerator); app.use(ElementPlus).mount('#app')按需引入
<template> <FormGenerator :model="form" :formOption="formOption" /> <TableGenerator :data="tableData":tableOption="tableOption" /> </template> <script lang="tsx" setup> import { FormGenerator,TableGenerator } from 'element-plus-generator' // ... </script>
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.34 | ^3.2.47 | ISC | |
| 1.2.33 | ^3.2.47 | ISC | |
| 1.2.32 | ^3.2.47 | ISC | |
| 1.2.31 | ^3.2.47 | ISC | |
| 1.2.30 | ^3.2.47 | ISC | |
| 1.2.29 | ^3.2.47 | ISC | |
| 1.2.28 | ^3.2.47 | ISC | |
| 1.2.27 | ^3.2.47 | ISC | |
| 1.2.26 | ^3.2.47 | ISC | |
| 1.2.25 | ^3.2.47 | ISC | |
| 1.2.24 | ^3.2.47 | ISC | |
| 1.2.23 | ^3.2.47 | ISC | |
| 1.2.22 | ^3.2.47 | ISC | |
| 1.2.21 | ^3.2.47 | ISC | |
| 1.2.20 | ^3.2.47 | ISC | |
| 1.2.19 | ^3.2.47 | ISC | |
| 1.2.18 | ^3.2.47 | ISC | |
| 1.2.17 | ^3.2.47 | ISC | |
| 1.2.16 | ^3.2.47 | ISC | |
| 1.2.15 | ^3.2.47 | ISC | |
| 1.2.14 | ^3.2.47 | ISC | |
| 1.2.13 | ^3.2.47 | ISC | |
| 1.2.12 | ^3.2.47 | ISC | |
| 1.2.11 | ^3.2.47 | ISC | |
| 1.2.10 | ^3.2.47 | ISC | |
| 1.2.9 | ^3.2.47 | ISC | |
| 1.2.8 | ^3.2.47 | ISC | |
| 1.2.7 | ^3.2.47 | ISC | |
| 1.2.6 | ^3.2.47 | ISC | |
| 1.2.5 | ^3.2.47 | ISC |
Showing the latest 30 of 79. See every release on npm
Pre-releases (1)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.37-np | ^3.2.47 | ISC |