vuejs-confirm-dialog
composition-api
vuejs-confirm-dialog | composition-api | |
---|---|---|
1 | 4 | |
59 | 709 | |
- | 0.0% | |
4.2 | 8.4 | |
4 months ago | 8 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vuejs-confirm-dialog
-
The simplest way to deal with modal dialogs in Vue 3
In this guide I will introduce the vuejs-confirm-dialog plugin and show how to use it. I'll start with simple examples and end up with a function which completely abstracts the popup dialog to confirm an action and can be used in any component of your project. The examples are written in JavaScript for easy reading, but the plugin itself is in TypeScript. The plugin is fully typed and documented, which makes it much easier to work with it. Unlike vue-modal-dialogs, this plugin has additional functionality - special hooks: onConfirm and onCancel. They accept a callback and are called depending on the user's decision: onConfirm if the user agrees and onCancel if he refuses.
composition-api
-
Using Axios in Nuxt with Composition API
Since we'll be using the Vue.js composition API we'll install the Nuxt plugin that will allow us to use the Vue 3 Composition API with Nuxt-specific features.
-
Can you use the new Vue3 Script Setup in Nuxt2?
Yep: https://composition-api.nuxtjs.org/
-
Looking to learn Nuxtjs. Iโve been learning Vue 3 but its to my understanding that Nuxt is currently based on Vue 2.
I would buy it! Nuxt is great, even if it is Vue 2. You can even still use the composition API https://composition-api.nuxtjs.org/. Vue 2 isn't that different than Vue 3. When Nuxt does upgrade, your experience should transfer over nicely.
- Another DX improvement
What are some alternatives?
vue-composable - Vue composition-api composable components. i18n, validation, pagination, fetch, etc. +50 different composables
pinia-plugin-persistedstate-2 - [no longer maintained] Please use https://github.com/prazdevs/pinia-plugin-persistedstate instead.
pinia - ๐ Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support
slate-vue - slate.js implement for Vue2 and Vue3
motion - ๐คน Vue Composables putting your components in motion
vue-eslint-parser - The ESLint custom parser for `.vue` files.
pinia - ๐ Intuitive, type safe, light and flexible Store for Vue using the composition api with DevTools support [Moved to: https://github.com/vuejs/pinia]
trpc-nuxt - End-to-end typesafe APIs in Nuxt applications.
vue-modal-dialogs - Promisify dialogs in Vue!
vue-modal - ๐The progressive and simple modal system for Vue.js v3
svg-sprite - Optimize SVG files and combine them into sprite