A Promise-based modal dialog helper for Vue.js

vue-modal-dialogs

Dialogs are a typical and essential user interaction in interactive applications. But implementing dialogs are not an easy thing in front-end web development.

vue-modal-dialogs is a super light-weighted library aimed to help developers to easily use dialogs by the advantage of Vue.js, Promise, and async function.

Features

  • ✅ Light weighted (~1kb min+gzip)
  • ✅ Promise based
  • ✅ Functional programming
  • ✅ Full customizable
  • ✅ Place everything you want into that dialog

Features below is not provided. You can achieve them by yourself:

  • ❌ Pre-defined dialog style
  • ❌ Shortcut function in Vue's prototype

Installation

Install via npm or yarn (recommended)

# Use npm
npm install vue-modal-dialogs --save

# Use yarn
yarn add vue-modal-dialogs

Author

hjkcai

GitHub