# da-style
**Repository Path**: xiaozhang35/da-style
## Basic Information
- **Project Name**: da-style
- **Description**: 自定义Vue3组件库
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 2
- **Created**: 2022-09-11
- **Last Updated**: 2022-09-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Da式风格组件库
> 使用
```javascript
npm i da-style 或者 yarn add da-style
```
在main.js引入使用
全部引入
```javascript
import { createApp } from 'vue'
import App from './App.vue'
// 引入da-style/lib/index
import daStyle from 'da-style/lib/index'
createApp(App)
// 使用
.use(daStyle)
.mount('#app')
```
按需引入
```javascript
import { createApp } from 'vue'
import App from './App.vue'
// 引入da-style/lib/index
import {DButton} from 'da-style/lib/index'
createApp(App)
// 使用
.use(DButton)
.mount('#app')
```
## 按钮组件
> **DBtn** 通过type的值变换风格:info、err、warn、success
```
默认
info
err
warn
sussess
```
> **DButton** 通过type的值变换风格:info、err、warn、success
```javascript
默认
info
err
warn
sussess
```
## 瀑布流组件
> DFalls需要传入图片数组data
```javascript
```
## 输入框组件
等待中...