1.0.19 • Published 1 year ago

@wzh-/components v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

文件描述

├─_components
    ├─src
       ├─MyButton 按钮
       ├─MyCheckbox 复选框
       ├─MyConfirm 确认弹窗
       ├─MyCrumb 面包屑
       ├─MyDateRange 日期范围选择
       ├─MyDownload 下载
       ├─MyDownloadTable 导出
       ├─MyInput 文本框
       ├─MyRadio 单选框
       ├─MySelect 下拉框
       ├─MySwitch 开关
       ├─MyTable 表格
       ├─MyTips 提示框
       ├─MyUpload 上传

安装

npm install -D @wzh-/components

使用

<!-- src/components/index -->
import ArcoVue from '@arco-design/web-vue'
import '@arco-design/web-vue/dist/arco.css'
import * as components form '@wzh-/components'

export default {
  install(app) {
    // 全局引入
    app.use(ArcoVue)

    // 自定义组件
    for(const name in components) {
      app.component(name , components[name])
    }

  }
}

<!-- src/main.js -->
import App from './App.vue'
import components from './components'

const app = createApp(App)
app.use(components)
1.0.19

1 year ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago