UNPKG
ng-form-build
Version:
latest (0.0.24)
0.0.24
采用Vue3 + TS,封装的element-plus数据驱动表单组件
github.com/KDJack/el-plus-form
KDJack/el-plus-form
ng-form-build
/
lib
/
index.ts
15 lines
(11 loc)
•
322 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
{
App
}
from
'vue'
import
ElPlusForm
from
'./ElPlusForm.vue'
const
ElPlusFormUI
= {
install
:
(
app
:
App
,
options
:
any
) =>
{
const
components = [
ElPlusForm
] components.
map
(
(
component
:
any
) =>
{ app.
component
(component.
name
, component) }) } }
export
default
ElPlusFormUI