made with vue.js


Use Vue 3's Fragment Feature in Vue 2

Visit Site


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."


Hiroki Osame

Social Media Links

Vue Collapsed Height Transitions
icon-eye-dark Created with Sketch. 488
Pinia Vue Store
icon-eye-dark Created with Sketch. 17.001
Sentry for Vue Vue Application Monitoring
πŸ’š Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Vuex Pathify Unified path syntax to Vuex Stores
icon-eye-dark Created with Sketch. 6.054
PortalVue Render DOM outside of a component
icon-eye-dark Created with Sketch. 10.667