無論是開發新手還是經驗豐富的老手,我們都喜歡開源軟件包。對於開發者來說,如果沒有這些開源軟件包,很難想象我們的生活會變得多麼疲憊不堪,而且靠咖啡度日也會成爲家常便飯。所幸的是,隨着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來構建跨平臺的原生移動應用程序。
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的數據表組件。
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應用程序的最可靠、最穩定的模塊。
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