Vue常用插件整理

这篇文章整理了Vue.js开发中常用的插件,包括echarts图形库、vueBus用于兄弟组件通信、vue-quill-editor富文本编辑器、vue-baidu-map百度地图集成、以及各种交互组件如轮播、拖拽和右键菜单等,覆盖了数据展示、编辑、交互和文件预览等多个方面。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

vue所用插件整理https://www.cnblogs.com/yangxiaoying/p/12119026.html

1、echarts

各类图形化展示插件


2、vueBus插件  

兄弟组件之间传值

参考网站:https://www.cnblogs.com/yanwuming/p/10512905.html


3、vue-fontawesome-elementui-icon-picker    

vue element-ui图标选择插件

参考网站:vue element-ui 图标选择组件vue-fontawesome-elementui-icon-picker - 简书


4、vue-quill-editor

富文本编辑器  

参考网站:富文本编辑vue插件vue-quill-editor_vue富文本编辑器插件_萌新不会永远是萌新的博客-CSDN博客

5、qs插件

为了解决post默认使用的是x-www-from-urlencoded 去请求数据,导致请求参数无法传递到后台

  transformRequest: [function (data, headers) {
    // Do whatever you want to transform the data
    return Qs.stringify(data);
  }]

6、vue-baidu-map

百度地图插件

7、VueQriously

vue二维码生成插件
https://blog.csdn.net/luoyali/article/details/79262778 8

8、dataV

vue大屏数据展示组件库
参考网站:DataV

9、vue-awesome-swiper 

vue轮播插件

10、vue-image-swiper 

vue图片预览插件
参考网址:https://segmentfault.com/a/1190000019398933?utm_source=tag-newest

11、vue-count-to 一个简单好用的数字滚动插件
  1> 安装 npm install vue-count-to
  2> 使用方法
<template>
  <countTo :startVal='startVal' :endVal='endVal' :duration='3000'></countTo>
</template>

<script>
  import countTo from 'vue-count-to';
  export default {
    components: { countTo },
    data () {
      return {
        startVal: 0,
        endVal: 2017
      }
    }
  }
</script>

  3> 字段说明

Property

Description

type

default

startVal

开始值

Number

0

endVal

结束值

Number

2017

duration

持续时间,以毫秒为单位

Number

3000

autoplay

自动播放

Boolean

true

decimals

要显示的小数位数

Number

0

decimal

十进制分割

String

.

separator

分隔符

String

,

prefix

前缀

String

''

suffix

后缀

String

''

useEasing

使用缓和功能

Boolean

true

easingFn

缓和回调

Function

更多demo戳  vue-count-to

12、 Jquery_contextmenu 鼠标右键插件

  1> 安装 npm i jquery-contextmenu --save-dev

  2> main.js引入

import Jquery_contextmenu from 'jquery-contextmenu'
Vue.use(Jquery_contextmenu)
import 'jquery-contextmenu/dist/jquery.contextMenu.css'

13、vue-flip-down vue 倒计时插件

14、 docx-preview插件  在线预览docx文件

15、vue-excelview  在线预览excel文件

16、vue-pdf 在线预览pdf文件

17、vuedraggable   

拖拽插件

官方文档    https://www.itxst.com/vue-draggable/j6vzfv6r.html

推荐下作者的官网:

DataVVue 大屏数据展示组件库http://datav.jiaminghi.com/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值