made with vue.js

vue-frag

Use Vue 3's Fragment Feature in Vue 2

Visit Site

Description

Use Vue 3's Fragment Feature in Vue 2

"With vue-frag you can create Fragments (multiple root-elements) in Vue 2.

Use it whenever you feel like the root-element of your component adds no value and is unnecessary, or is messing up your HTML output. This usually happens when you want to return a list of elements like <li>List Items</li> or <tr><td>Table Rows</td></tr> but you have to wrap it in a <div>.

vue-frag works by tricking Vue.js to think that the root element is still in the DOM, when it's actually not."


Creator

Hiroki Osame
@privatenumbr


Social Media Links

Nuxt Open Fetch Type-safe OpenAPI Fetch Clients for Nuxt
icon-eye-dark Created with Sketch. 26
Vuelidate Model-based Validation
icon-eye-dark Created with Sketch. 3.218
Sentry for Vue Vue Application Monitoring
💚 Sponsored by Friends
Vue Aspect Ratio Aspect Ratio Component
icon-eye-dark Created with Sketch. 2.981
Vue Snip Text Truncation Directive
icon-eye-dark Created with Sketch. 2.555
Vorms Composition API Form Validation
icon-eye-dark Created with Sketch. 2.736