1.7.2 • Published 4 months ago

@kjgl77/datav-vue3 v1.7.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

DataV Vue3+TS+Vite版

Author LICENSE

NPM

由于之前大佬写的 DataV 不支持Vue3 Vite2.x,现部分代码用Vue3+TS重构。

文档地址https://datav-vue3.netlify.app

Gitee地址https://gitee.com/kjgl77/datav-vue3

Github地址https://github.com/vaemusic/datav-vue3

Demo预览地址https://datav-vue3-demo.netlify.app/

Demo Gitee地址https://gitee.com/kjgl77/electronic-file

Demo Github地址https://github.com/vaemusic/electronic-file

使用方法

  • 安装,此处使用pnpm工具,也可以yarn,npm等
pnpm install @kjgl77/datav-vue3

全局引入

// main.ts中全局引入
import { createApp } from 'vue'
import DataVVue3 from '@kjgl77/datav-vue3'

const app = createApp(App)

app.use(DataVVue3)
app.mount('#app')

引入后在.vue文件中可以直接使用

<dv-decoration-1 :color="['pink','yellow']" style="width:200px;height:50px;" />

局部引入

<!-- 在.vue文件的script中import部分组件 -->
<script lang="ts" setup>
import { Decoration1, Decoration2 } from '@kjgl77/datav-vue3'
</script>
<template>
  <!-- 引入之后就可以在vue的template中直接使用 -->
  <decoration-1 :color="['pink','yellow']" style="width:200px;height:50px;" />
  <decoration-2 :reverse="true" style="width:5px;height:150px;" />
</template>

新的组件库开发根据大佬的 MY-Kit 开发。支持脚本生成基础文件,文档,可使用Markdown一边开发源码一边写文档。详情可见MY-Kit文档。

1.7.2

4 months ago

1.7.1

7 months ago

1.7.0

7 months ago

1.6.1

10 months ago

1.6.0

10 months ago

1.5.1

11 months ago

1.5.0

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.9

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.3

2 years ago

1.3.2

2 years ago

1.2.2

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago