vue相关的UI库和插件

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/qq_39025670/article/details/100009478

本文整理一些自己比较常用的UI库和插件

一.vue相关的UI库

1.element ui 

自己比较常用的ui库,后台系统还有vue-element-admin,后台效果请看

https://panjiachen.gitee.io/vue-element-admin/#/dashboard

https://panjiachen.github.io/vue-admin-template/#/dashboard

2.cube ui(移动端)

这是移动端的一个ui库,还不错,滴滴出品

暂时就介绍这两个,若满足不了需求可以再查看其它的ui库:https://www.jianshu.com/p/0a3efa80e322

二.vue相关的插件

注:对于一些基本的插件这里不列举,比如css相关的预处理器less/sass/stylus,数据请求的axios等

1.fastclick

解决移动端点击事件300ms延迟问题

GitHub:https://github.com/ftlabs/fastclick

demo:

import fastClick from 'fastclick'
fastClick.attach(document.body)

2.better-scroll

滚动处理插件,主要是处理移动端滚动,现在也支持pc端

GitHub:https://github.com/ustbhuangyi/better-scroll

文档:

1.X https://ustbhuangyi.github.io/better-scroll/#/zh

2.X https://better-scroll.github.io/docs/zh-CN/

demo:

import BScroll from 'better-scroll'
let scroll = new BScroll('.wrapper')

3.vue-awesome-swiper

基于swiper的轮播组件

GitHub:https://github.com/surmon-china/vue-awesome-swiper

4.vue-lazyload

图片懒加载

GitHub:https://github.com/hilongjw/vue-lazyload

5.vue-video-player

基于video.js的视频播放插件

GitHub:https://github.com/surmon-china/vue-video-player

6.jsonp

处理jsonp相关的请求

GitHub:https://github.com/webmodules/jsonp

7.create-keyframe-animation

js操作css3动画

GitHub:https://github.com/HenrikJoreteg/create-keyframe-animation

// ...

猜你喜欢

转载自blog.csdn.net/qq_39025670/article/details/100009478