1.0.19 • Published 4 months ago

@wzh-/components v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months 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

4 months ago

1.0.17

4 months ago

1.0.16

4 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago