力荐 35 个最好用的 Vue 开源库!

OPEN编辑 5年前
   <p>无论是开发新手还是经验丰富的老手,我们都喜欢开源软件包。对于开发者来说,如果没有这些开源软件包,很难想象我们的生活会变得多么疲惫不堪,而且靠咖啡度日也会成为家常便饭。所幸的是,随着 Vue.js 和 Nuxt.js 社区的不断壮大,每天都会出现一些很好的软件包。</p>    <p>在下文中,我们将推荐一些非常好用的 Vue 和 Nuxt 软件包。</p>    <h2>Vue.js</h2>    <p>Vue.js 是一个非常易用的渐进式 JavaScript 框架,用于构建用户界面。</p>    <h3>1.Vue Dark Mode</h3>    <p>Vue.js 的一个极简主义的深色设计系统。它提供了基本组件,用于构建失眠者最喜欢的深色界面。</p>    <p>地址: <a href="/misc/goto?guid=5048129614376711095" rel="nofollow,noindex">https://github.com/LeCoupa/vuedarkmode</a></p>    <h3>2.Vetur</h3>    <p>VS Code 的 Vue 工具。如果你是 Vue.js 超级用户,必须尝试一下!</p>    <p>地址: <a href="/misc/goto?guid=5048129614558402582" rel="nofollow,noindex">https://github.com/vuejs/vetur</a></p>    <h3>3.Vue VS Code Snippets</h3>    <p>这些片段很棒,从我开始学习 Vue.js 时就一直在用它。</p>    <p>地址: <a href="/misc/goto?guid=5048129614664994882" rel="nofollow,noindex">https://github.com/sdras/vue-vscode-snippets</a></p>    <h3>4.Bootstrap-Vue</h3>    <p>提供了最全面的 Bootstrap V4 实现。</p>    <p>地址: <a href="/misc/goto?guid=5048129614838734763" rel="nofollow,noindex">https://bootstrap-vue.js.org/</a></p>    <h3>5.Vue Native</h3>    <p>你是 React Native 的粉丝吗?就像 React Native 一样,Vue Native 框架允许你使用 JavaScript 来构建跨平台的原生移动应用程序。</p>    <p>地址: <a href="/misc/goto?guid=5048129614996793069" rel="nofollow,noindex">https://vue-native.io/</a></p>    <h3>6.NativeScript Vue</h3>    <p>如果你更喜欢 NativeScript,这个包可以帮助你使用 NativeScript 和 Vue.js 构建原生移动应用程序。</p>    <p>地址: <a href="/misc/goto?guid=5048129615123952563" rel="nofollow,noindex">https://github.com/nativescript-vue/nativescript-vue</a></p>    <h3>7.Vue Content Placeholders</h3>    <p>在获取真实内容时,可以使用这些可组合组件渲染虚假的渐进式内容。</p>    <p>地址: <a href="/misc/goto?guid=5048129615262537480" rel="nofollow,noindex">https://github.com/michalsnik/vue-content-placeholders</a></p>    <h3>8.Vue Autosuggest</h3>    <p>一个很棒的 Vue.js 自动提示组件。</p>    <p>地址: <a href="/misc/goto?guid=5048129615417825825" rel="nofollow,noindex">https://github.com/Educents/vue-autosuggest</a></p>    <h3>9.Vue Clipboard</h3>    <p>一个简单的 Vue.js 包,允许用户将文本复制到基于 <a href="/misc/goto?guid=4959728701763409154" rel="nofollow,noindex">clipboard.js</a> 的剪贴板。</p>    <p>地址: <a href="/misc/goto?guid=5048129615579950245" rel="nofollow,noindex">https://vue-clipboard2.inndy.tw/</a></p>    <h3>10.Vue Clickaway</h3>    <p>一种可重复使用的点击指令,可检测并响应元素外部的点击动作。当我们需要关闭模态窗口或隐藏下拉列表时会非常方便。</p>    <p>地址: <a href="/misc/goto?guid=5048129615697511685" rel="nofollow,noindex">https://github.com/simplesmiler/vue-clickaway</a></p>    <h3>11.Vue Waypoint</h3>    <p>Vue.js 的 v-waypoint 指令,用于在滚动时触发函数。当你想要在滚动时触发动画,它就可以派上用场。</p>    <p>地址: <a href="/misc/goto?guid=5048129615858531068" rel="nofollow,noindex">https://github.com/scaccogatto/vue-waypoint</a></p>    <h3>12.Vue Virtual Scroller</h3>    <p>用于 Vue.js 应用程序的快速无限制滚动。</p>    <p>地址: <a href="/misc/goto?guid=4959740439826657809" rel="nofollow,noindex">https://github.com/Akryum/vue-virtual-scroller</a></p>    <h3>13.Vue Slideout</h3>    <p>Slideout.js 的 Vue.js 实现。</p>    <p>地址: <a href="/misc/goto?guid=5048129615985919269" rel="nofollow,noindex">https://github.com/vouill/vue-slideout</a></p>    <h3>14.Vue Swing</h3>    <p>它是 <a href="/misc/goto?guid=5048129616154211579" rel="nofollow,noindex">Swing</a> 的 vue.js 包装器,一个卡片形式的界面(swipe-left 对应是,swipe-right 对应否)。</p>    <p>地址: <a href="/misc/goto?guid=5048129616286443137" rel="nofollow,noindex">https://github.com/goweiwen/vue-swing</a></p>    <h3>15.Vue Quill Editor</h3>    <p>Vue.js 的 Quill 编辑器,支持 SPA 和 SSR。</p>    <p>地址: <a href="/misc/goto?guid=4959740433501916282" rel="nofollow,noindex">https://github.com/surmon-china/vue-quill-editor</a></p>    <h3>16.Vue Stripe Checkout</h3>    <p>用于 Stripe 结帐的 Vue.js 插件。</p>    <p>地址: <a href="/misc/goto?guid=5048129616433616683" rel="nofollow,noindex">https://github.com/jofftiquez/vue-stripe-checkout</a></p>    <h3>17.Vue Cleave Component</h3>    <p>Cleave.js 的 Vue.js 组件,用于在输入时格式化输入内容(信用卡格式、日期等)。</p>    <p>地址: <a href="/misc/goto?guid=5048129616538212309" rel="nofollow,noindex">https://github.com/ankurk91/vue-cleave-component</a></p>    <h3>18.Vuelidate</h3>    <p>进行基于模型的验证,实现表单验证现在变得轻而易举。</p>    <p>地址: <a href="/misc/goto?guid=4959740447545081235" rel="nofollow,noindex">https://github.com/monterail/vuelidate</a></p>    <h3>19.Vue.js Datepicker</h3>    <p>一个简单的 Vue.js 日期选择器组件。</p>    <p>地址: <a href="/misc/goto?guid=5048129616737044384" rel="nofollow,noindex">https://github.com/charliekassel/vuejs-datepicker</a></p>    <h3>20.Vue Moment</h3>    <p>想要在 Vue.js 应用程序中使用 Moment.js?你需要这个包。</p>    <p>地址: <a href="/misc/goto?guid=5048129616835922458" rel="nofollow,noindex">https://github.com/brockpetrie/vue-moment</a></p>    <h3>21.Vue Numeric</h3>    <p>Vue.js 输入字段组件,用于显示格式化的货币值。</p>    <p>地址: <a href="/misc/goto?guid=5048129616942054740" rel="nofollow,noindex">https://github.com/kevinongko/vue-numeric</a></p>    <h3>22.Vue Slider Component</h3>    <p>这里面的 10 种滑块组件都使用 Vue.js 开发。</p>    <p>地址: <a href="/misc/goto?guid=5048129617064750297" rel="nofollow,noindex">https://nightcatsama.github.io/vue-slider-component/example</a></p>    <h3>23.Vue.Draggable</h3>    <p>Vue.js 组件,基于 Sortable.js 进行同步的拖放排序。</p>    <p>地址: <a href="/misc/goto?guid=5048129617175411794" rel="nofollow,noindex">https://github.com/SortableJS/Vue.Draggable</a></p>    <h3>24.Vue Draggable Resizable</h3>    <p>Vue.js 组件,用于可调整大小和可拖动的元素,没有外部依赖。</p>    <p>地址: <a href="/misc/goto?guid=5048129617260616652" rel="nofollow,noindex">https://github.com/mauricius/vue-draggable-resizable</a></p>    <h3>25.Vue Color</h3>    <p>来自 Sketch、Photoshop、Chrom 的 Vue.js 颜色选择器。</p>    <p>地址: <a href="/misc/goto?guid=5048129617355855095" rel="nofollow,noindex">https://github.com/xiaokaike/vue-color</a></p>    <h3>26.Emoji Mart Vue</h3>    <p>从 React 的 emoji-mart fork 出来的,用于 Vue.js 的 Slack 风格的可定制表情符号选择器组件。</p>    <p>地址: <a href="/misc/goto?guid=5048129617450094219" rel="nofollow,noindex">https://github.com/jm-david/emoji-mart-vue</a></p>    <h3>27.Vue 油Tube Embed</h3>    <p>基于 Angular 油Tube Embed,允许你使用 油Tube iframe API。</p>    <p>地址: <a href="/misc/goto?guid=5048129617551477092" rel="nofollow,noindex">https://github.com/kaorun343/vue-油Tube-embed</a></p>    <h3>28.Vuetable-2</h3>    <p>Vue.js 的数据表组件。</p>    <p>地址: <a href="/misc/goto?guid=5048129617671807189" rel="nofollow,noindex">https://www.vuetable.com/</a></p>    <h3>29.Vue Chartist</h3>    <p>基于 Chartist.js 的响应式图表。</p>    <p>地址: <a href="/misc/goto?guid=5048129617780918677" rel="nofollow,noindex">https://github.com/Yopadd/vue-chartist</a></p>    <h3>30.Vue Trend</h3>    <p>最优雅的趋势图组件。</p>    <p>地址: <a href="/misc/goto?guid=4959747132512444861" rel="nofollow,noindex">https://github.com/QingWei-Li/vue-trend</a></p>    <h3>31.Epic Spinners</h3>    <p>20 个易于使用的 css 调节器。</p>    <p>地址: <a href="/misc/goto?guid=5048129617977709531" rel="nofollow,noindex">https://github.com/epicmaxco/epic-spinners</a></p>    <h3>32.Vue Notification</h3>    <p>用在 Vue.js 应用程序中的成功、警告和错误通知。可以放在右侧、左侧、底部、顶部或中间,任何你想要的位置!</p>    <p>地址: <a href="/misc/goto?guid=5048129618119831097" rel="nofollow,noindex">http://vue-notification.yev.io/</a></p>    <h3>33.Vue Popper</h3>    <p>一个基于 popper.js 的 Vue.js 弹出窗口组件。</p>    <p>地址: <a href="/misc/goto?guid=5048129618262896553" rel="nofollow,noindex">https://robinck.github.io/vue-popper/</a></p>    <h3>34.Vue Countup</h3>    <p>基于 CountUp.js,可用于创建显示数字数据的动画。</p>    <p>地址: <a href="/misc/goto?guid=5048129618398228933" rel="nofollow,noindex">https://github.com/xlsdg/vue-countup-v2</a></p>    <h3>35.Vue No SSR</h3>    <p>用于包装对 SSR 不友好的组件。</p>    <p>地址: <a href="/misc/goto?guid=5048129618521455225" rel="nofollow,noindex">https://github.com/egoist/vue-no-ssr</a></p>    <h2>Nuxt.js</h2>    <p>Nuxt.js 是一个基于 Vue.js 构建的框架,帮助你轻松构建服务器端渲染的应用程序。</p>    <h3>1.Create Nuxt App</h3>    <p>在几秒钟内创建 Nuxt.js 项目的最简单方法。</p>    <p>地址: <a href="/misc/goto?guid=5048129618640672842" rel="nofollow,noindex">https://github.com/nuxt/create-nuxt-app</a></p>    <h3>2.Nuxt SAAS 资源加载器</h3>    <p>每次创建新文件时不需要手动导入所有的 SASS 样式,而是让 SASS 资源加载负责这些工作。</p>    <p>地址: <a href="/misc/goto?guid=5048129618766679474" rel="nofollow,noindex">https://github.com/anteriovieira/nuxt-sass-resources-loader</a></p>    <h3>3.Vue Dark Mode</h3>    <p>这个库也是用 Nuxt.js 开发的。</p>    <p>地址: <a href="/misc/goto?guid=5048129614376711095" rel="nofollow,noindex">https://github.com/LeCoupa/vuedarkmode</a></p>    <h3>4.Nuxt 的 PWA 模块</h3>    <p>用于创建渐进式 Web 应用程序的最可靠、最稳定的模块。</p>    <p>地址: <a href="/misc/goto?guid=5048129618930860475" rel="nofollow,noindex">https://pwa.nuxtjs.org/</a></p>    <h3>5.Dotenv 模块</h3>    <p>将.env 文件加载到 Nuxt.js 应用程序上下文中。</p>    <p>地址: <a href="/misc/goto?guid=5048129619065613940" rel="nofollow,noindex">https://github.com/nuxt-community/dotenv-module</a></p>    <h3>6.Nuxt.js 的 Senty 模块</h3>    <p>Sentry.io 是一个开源的错误跟踪器,可以将 Sentry 添加到 Nuxt.js 应用程序中。</p>    <p>地址: <a href="/misc/goto?guid=5048129619198459962" rel="nofollow,noindex">https://github.com/nuxt-community/sentry-module</a></p>    <h3>7. Nuxt.js 的 Google Analytics 模块</h3>    <p>将你的 Google Analytics 帐户与 Nuxt 项目集成。</p>    <p>地址: <a href="/misc/goto?guid=5048129619324753579" rel="nofollow,noindex">https://github.com/nuxt-community/analytics-module</a></p>    <p>英文原文</p>    <p><a href="/misc/goto?guid=5048129619512478462" rel="nofollow,noindex">https://medium.com/the-vue-way/my-favorite-vue-js-nuxt-js-packages-for-2019-639dbbfe699e</a></p>    <p> </p>    <p>来自:  <a class="cut cut70" href="https://www.infoq.cn/article/04b2Z4HmV4xshXJ*bSFO?utm_source=tuicool&utm_medium=referral" style="display:inline-block;">https://www.infoq.cn/article/04b2Z4HmV4xshXJ*bSFO</a></p>