{"library":"vue-frag","type":"library","category":null,"description":"vue-frag provides Vue 3's native fragment functionality to Vue 2 applications, allowing components to render multiple root elements without an artificial wrapper div. This addresses a core limitation in Vue 2's template syntax. The current stable version is 1.4.3. Releases are made on an as-needed basis, primarily for bug fixes and minor enhancements related to Vue 2 compatibility. Key differentiators include support for server-side rendering (SSR), compatibility with core Vue directives like `v-if`, `v-for`, and `v-html`, and offering both a Component API (`<fragment>`) and a Directive API (`v-frag`) for flexible usage. It can also be paired with `vue-frag-plugin` for automatic fragment injection, simplifying development by allowing multiple root nodes directly in SFCs.","language":"javascript","status":"active","version":"1.4.3","tags":["javascript","vue","vuejs","fragment","directive","component","ssr","multiple root nodes","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-frag","imports":["import { Fragment } from 'vue-frag'","import frag from 'vue-frag'","import { Fragment } from 'vue-frag'; Vue.component('Fragment', Fragment);","import frag from 'vue-frag'; Vue.directive('frag', frag);"]},{"cmd":"yarn add vue-frag","imports":[]},{"cmd":"pnpm add vue-frag","imports":[]}],"homepage":null,"github":"https://github.com/privatenumber/vue-frag","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-frag","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-frag/compatibility"}}