力薦!35 個最好用的 Vue 開源庫!前端必看

力薦!35 個最好用的 Vue 開源庫!前端必看

 

 

 

 

 

無論是開發新手還是經驗豐富的老手,我們都喜歡開源軟件包。對於開發者來說,如果沒有這些開源軟件包,很難想象我們的生活會變得多麼疲憊不堪,而且靠咖啡度日也會成爲家常便飯。所幸的是,隨着 Vue.js 和 Nuxt.js 社區的不斷壯大,每天都會出現一些很好的軟件包。

在下文中,我們將推薦一些非常好用的 Vue 和 Nuxt 軟件包。

Vue.js

Vue.js 是一個非常易用的漸進式 JavaScript 框架,用於構建用戶界面。

1.Vue Dark Mode

Vue.js 的一個極簡主義的深色設計系統。它提供了基本組件,用於構建失眠者最喜歡的深色界面。

地址:

https://github.com/LeCoupa/vuedarkmode

2.Vetur

VS Code 的 Vue 工具。如果你是 Vue.js 超級用戶,必須嘗試一下!

地址:

https://github.com/vuejs/vetur

3.Vue VS Code Snippets

這些片段很棒,從我開始學習 Vue.js 時就一直在用它。

地址:

https://github.com/sdras/vue-vscode-snippets

4.Bootstrap-Vue

提供了最全面的 Bootstrap V4 實現。

地址:

https://bootstrap-vue.js.org/

5.Vue Native

你是 React Native 的粉絲嗎?就像 React Native 一樣,Vue Native 框架允許你使用 JavaScript 來構建跨平臺的原生移動應用程序。

地址:https://vue-native.io/

6.NativeScript Vue

如果你更喜歡 NativeScript,這個包可以幫助你使用 NativeScript 和 Vue.js 構建原生移動應用程序。

地址:

https://github.com/nativescript-vue/nativescript-vue

7.Vue Content Placeholders

在獲取真實內容時,可以使用這些可組合組件渲染虛假的漸進式內容。

地址:

https://github.com/michalsnik/vue-content-placeholders

8.Vue Autosuggest

一個很棒的 Vue.js 自動提示組件。

地址:

https://github.com/Educents/vue-autosuggest

9.Vue Clipboard

一個簡單的 Vue.js 包,允許用戶將文本複製到基於clipboard.js的剪貼板。

地址:

https://vue-clipboard2.inndy.tw/

10.Vue Clickaway

一種可重複使用的點擊指令,可檢測並響應元素外部的點擊動作。當我們需要關閉模態窗口或隱藏下拉列表時會非常方便。

地址:

https://github.com/simplesmiler/vue-clickaway

11.Vue Waypoint

Vue.js 的 v-waypoint 指令,用於在滾動時觸發函數。當你想要在滾動時觸發動畫,它就可以派上用場。

地址:

https://github.com/scaccogatto/vue-waypoint

12.Vue Virtual Scroller

用於 Vue.js 應用程序的快速無限制滾動。

地址:

https://github.com/Akryum/vue-virtual-scroller

13.Vue Slideout

Slideout.js 的 Vue.js 實現。

地址:

https://github.com/vouill/vue-slideout

14.Vue Swing

它是Swing的 vue.js 包裝器,一個卡片形式的界面(swipe-left 對應是,swipe-right 對應否)。

地址:

https://github.com/goweiwen/vue-swing

15.Vue Quill Editor

Vue.js 的 Quill 編輯器,支持 SPA 和 SSR。

地址:

https://github.com/surmon-china/vue-quill-editor

16.Vue Stripe Checkout

用於 Stripe 結帳的 Vue.js 插件。

地址:

https://github.com/jofftiquez/vue-stripe-checkout

17.Vue Cleave Component

Cleave.js 的 Vue.js 組件,用於在輸入時格式化輸入內容(信用卡格式、日期等)。

地址:

https://github.com/ankurk91/vue-cleave-component

18.Vuelidate

進行基於模型的驗證,實現表單驗證現在變得輕而易舉。

地址:

https://github.com/monterail/vuelidate

19.Vue.js Datepicker

一個簡單的 Vue.js 日期選擇器組件。

地址:

https://github.com/charliekassel/vuejs-datepicker

20.Vue Moment

想要在 Vue.js 應用程序中使用 Moment.js?你需要這個包。

地址:

https://github.com/brockpetrie/vue-moment

21.Vue Numeric

Vue.js 輸入字段組件,用於顯示格式化的貨幣值。

地址:

https://github.com/kevinongko/vue-numeric

22.Vue Slider Component

這裏面的 10 種滑塊組件都使用 Vue.js 開發。

地址:

https://nightcatsama.github.io/vue-slider-component/example

23.Vue.Draggable

Vue.js 組件,基於 Sortable.js 進行同步的拖放排序。

地址:

https://github.com/SortableJS/Vue.Draggable

24.Vue Draggable Resizable

Vue.js 組件,用於可調整大小和可拖動的元素,沒有外部依賴。

地址:

https://github.com/mauricius/vue-draggable-resizable

25.Vue Color

來自 Sketch、Photoshop、Chrom 的 Vue.js 顏色選擇器。

地址:

https://github.com/xiaokaike/vue-color

26.Emoji Mart Vue

從 React 的 emoji-mart fork 出來的,用於 Vue.js 的 Slack 風格的可定製表情符號選擇器組件。

地址:

https://github.com/jm-david/emoji-mart-vue

27.Vue YouTube Embed

基於 Angular YouTube Embed,允許你使用 YouTube iframe API。

地址:

https://github.com/kaorun343/vue-youtube-embed

28.Vuetable-2

Vue.js 的數據表組件。

地址:https://www.vuetable.com/

29.Vue Chartist

基於 Chartist.js 的響應式圖表。

地址:

https://github.com/Yopadd/vue-chartist

30.Vue Trend

最優雅的趨勢圖組件。

地址:

https://github.com/QingWei-Li/vue-trend

31.Epic Spinners

20 個易於使用的 css 調節器。

地址:

https://github.com/epicmaxco/epic-spinners

32.Vue Notification

用在 Vue.js 應用程序中的成功、警告和錯誤通知。可以放在右側、左側、底部、頂部或中間,任何你想要的位置!

地址:

http://vue-notification.yev.io/

33.Vue Popper

一個基於 popper.js 的 Vue.js 彈出窗口組件。

地址:

https://robinck.github.io/vue-popper/

34.Vue Countup

基於 CountUp.js,可用於創建顯示數字數據的動畫。

地址:

https://github.com/xlsdg/vue-countup-v2

35.Vue No SSR

用於包裝對 SSR 不友好的組件。

地址:

https://github.com/egoist/vue-no-ssr

Nuxt.js

Nuxt.js 是一個基於 Vue.js 構建的框架,幫助你輕鬆構建服務器端渲染的應用程序。

1.Create Nuxt App

在幾秒鐘內創建 Nuxt.js 項目的最簡單方法。

地址:

https://github.com/nuxt/create-nuxt-app

2.Nuxt SAAS 資源加載器

每次創建新文件時不需要手動導入所有的 SASS 樣式,而是讓 SASS 資源加載負責這些工作。

地址:

https://github.com/anteriovieira/nuxt-sass-resources-loader

3.Vue Dark Mode

這個庫也是用 Nuxt.js 開發的。

地址:

https://github.com/LeCoupa/vuedarkmode

4.Nuxt 的 PWA 模塊

用於創建漸進式 Web 應用程序的最可靠、最穩定的模塊。

地址:https://pwa.nuxtjs.org/

5.Dotenv 模塊

將.env 文件加載到 Nuxt.js 應用程序上下文中。

地址:

https://github.com/nuxt-community/dotenv-module

6.Nuxt.js 的 Senty 模塊

Sentry.io 是一個開源的錯誤跟蹤器,可以將 Sentry 添加到 Nuxt.js 應用程序中。

地址:

https://github.com/nuxt-community/sentry-module

7. Nuxt.js 的 Google Analytics 模塊

將你的 Google Analytics 帳戶與 Nuxt 項目集成。

地址:

https://github.com/nuxt-community/analytics-module

英文原文

https://medium.com/the-vue-way/my-favorite-vue-js-nuxt-js-packages-for-2019-639dbbfe699e

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章