# datav-vue3
**Repository Path**: MichaelZhao0517/datav-vue3
## Basic Information
- **Project Name**: datav-vue3
- **Description**: datav Vue3+TS+Vite版
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: https://datav-vue3.netlify.app
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 86
- **Created**: 2022-06-23
- **Last Updated**: 2022-06-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# DataV Vue3+TS+Vite版
[](https://github.com/vaemusic "Author") [](https://github.com/vaemusic/datav-vue3/blob/master/LICENSE "LICENSE")
[](https://www.npmjs.com/package/@kjgl77/datav-vue3)
由于之前大佬写的 [DataV](http://datav.jiaminghi.com/) 不支持Vue3 Vite2.x,现部分代码用Vue3+TS重构。
[文档地址](https://datav-vue3.netlify.app):https://datav-vue3.netlify.app
[Gitee地址](https://gitee.com/kjgl77/datav-vue3):https://gitee.com/kjgl77/datav-vue3
[Github地址](https://github.com/vaemusic/datav-vue3):https://github.com/vaemusic/datav-vue3
[Demo预览地址](https://datav-vue3-demo.netlify.app/):https://datav-vue3-demo.netlify.app/
[Demo Gitee地址](https://gitee.com/kjgl77/electronic-file):https://gitee.com/kjgl77/electronic-file
[Demo Github地址](https://github.com/vaemusic/electronic-file):https://github.com/vaemusic/electronic-file
## 使用方法
- 安装,此处使用pnpm工具,也可以yarn,npm等
```shell
pnpm install @kjgl77/datav-vue3
```
### 全局引入
```ts
// main.ts中全局引入
import DataVVue3 from '@kjgl77/datav-vue3'
Vue.use(DataVVue3)
```
引入后在.vue文件中可以直接使用
```html
```
### 局部引入
```html
```
新的组件库开发根据大佬的 [MY-Kit](https://github.com/jrainlau/MY-Kit) 开发。支持脚本生成基础文件,文档,可使用Markdown一边开发源码一边写文档。详情可见MY-Kit文档。