


10 common Vue3 plug-ins that improve development efficiency (come and collect them)
This article summarizes and shares with you some useful Vue plug-ins, which can help developers improve development efficiency and solve the needs of various scrolling scenarios on the mobile terminal. I hope it will be helpful to everyone!
1. vue-multiselect-next
Vue.js’s universal selection/multi-select/marker component
project And documentation address: https://vue-multiselect.js.org/
For the installation of Vue 3, please refer to the readme file in Github for the latest instructions. (Learning video sharing: vuejs tutorial)
2, vue-print-nb
is used for printing, simple , fast, convenient and lightweight instruction wrapper
Github address: https://github.com/Power-kxLee/vue-print-nb
Online DEMO: https://power-kxlee.github.io/vue-print-nb/dist/index.html
3, vue-i18n-next (Vue3 international Internationalization plug-in)
i18n is a relatively mature internationalization library on the market, and vue-i18n is a Vue.js internationalization plug-in, which embeds the language switching function in the vue application. Each language that has been imported into the project can be switched.
vue-i18n-nex is the Vue i18n 9 plug-in library for Vue 3.
Official address: https://vue-i18n.intlify.dev/
4、vue-cropper
Simple vue image cropping plug-in
Project address: https://github.com/xyxiao001/vue-cropper
Demo address: http ://github.xyxiao.cn/vue-cropper/example/
##5、Vue Grid Layout
Grid layout system of Vue.jsChinese official website: https://jbaysolutions.github.io/vue-grid-layout/zh/
- Dragable
- Resizable
- Static components (cannot be dragged and resized)
- Boundary checking when dragging and resizing
- Avoid rebuilding the grid when adding or removing components Grid
- Serializable and Restoreable Layout
- Automated RTL Support
- Responsive
6. Vue Qrcode Reader
A Vue.js component that allows detection without leaving the browser and decoding QR code Official website: https://gruhn.github.io/vue-qrcode-reader/7. Makeit Captcha
is based on the slider verification code developed by Vue3 Vite Canvas, dynamically generates the verification slider, and combines the back-end secondary Verification can effectively avoid being captured and simulated verification. The slider verification code component is often used for verification before submission of various forms.- Official address: https://admin.makeit.vip/components/captchaGithub: https://github.com/lirongtong/miitvip-captchaNpm: https://www.npmjs.com/package/makeit-captcha
##8 , vue3-clipboard
clipboard.jsof Vue 3, a paste and copy plug-in based on Vue 3, does not depend on Flash or other frameworks. Github: https://github.com/soerenmartius/vue3-clipboard
9、vue.draggable
Vue 3 drag-and-drop component based on Sortable.js
Official address: https://sortablejs.github.io/vue.draggable.next/#/simple
github address: https://github.com/SortableJS/Vue.Draggable
Features
Supports touch devices
Supports dragging and selecting text
Support smart scrolling
Support dragging between different lists
Not jQuery For the basic
and view model synchronous refresh
Compatible with vue2’s country animation
support Undo operation
Can throw out all changes when full control is required
Compatible with existing UI components
10. BetterScroll
Plug-in that solves the needs of various scrolling scenarios on the mobile terminal (PC has been supported).
Official address: https://better-scroll.github.io/docs/zh-CN/
BetterScroll is a key A plug-in that solves the needs of various scrolling scenarios on the mobile side (PC already supported). Its core is based on the implementation of iscroll (opens new window). Its API design is basically compatible with iscroll. On the basis of iscroll, it has expanded some features and made some performance optimizations.
BetterScroll is implemented using pure JavaScript, which means it is dependency-free.
Note:
In BetterScroll 2.X, we split the 1.X coupled features into plug-ins to achieve on-demand loading and reduce package size. . Therefore, @better-scroll/core only provides the core scrolling capabilities. If you want to implement pull-up loading and pull-down refresh functions, you need to use the corresponding plug-in.
BetterScroll version 2.0.4 can specify a sub-element of the wrapper as content through specifiedIndexAsContent.
(Learning video sharing: web front-end development)
The above is the detailed content of 10 common Vue3 plug-ins that improve development efficiency (come and collect them). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Vue.js is suitable for small and medium-sized projects and fast iterations, while React is suitable for large and complex applications. 1) Vue.js is easy to use and is suitable for situations where the team is insufficient or the project scale is small. 2) React has a richer ecosystem and is suitable for projects with high performance and complex functional needs.

Using Bootstrap in Vue.js is divided into five steps: Install Bootstrap. Import Bootstrap in main.js. Use the Bootstrap component directly in the template. Optional: Custom style. Optional: Use plug-ins.

You can add a function to the Vue button by binding the button in the HTML template to a method. Define the method and write function logic in the Vue instance.

There are three ways to refer to JS files in Vue.js: directly specify the path using the <script> tag;; dynamic import using the mounted() lifecycle hook; and importing through the Vuex state management library.

The watch option in Vue.js allows developers to listen for changes in specific data. When the data changes, watch triggers a callback function to perform update views or other tasks. Its configuration options include immediate, which specifies whether to execute a callback immediately, and deep, which specifies whether to recursively listen to changes to objects or arrays.

Vue multi-page development is a way to build applications using the Vue.js framework, where the application is divided into separate pages: Code Maintenance: Splitting the application into multiple pages can make the code easier to manage and maintain. Modularity: Each page can be used as a separate module for easy reuse and replacement. Simple routing: Navigation between pages can be managed through simple routing configuration. SEO Optimization: Each page has its own URL, which helps SEO.

Vue.js has four methods to return to the previous page: $router.go(-1)$router.back() uses <router-link to="/" component window.history.back(), and the method selection depends on the scene.

There are three common methods for Vue.js to traverse arrays and objects: the v-for directive is used to traverse each element and render templates; the v-bind directive can be used with v-for to dynamically set attribute values for each element; and the .map method can convert array elements into new arrays.
