{"library":"vite-plugin-vue-layouts-next","type":"library","category":null,"description":"vite-plugin-vue-layouts-next is a Vite plugin designed to streamline layout management for Vue 3 applications, particularly when integrated with Vue Router. It's a maintained and improved fork of the original `vite-plugin-vue-layouts`, providing robust support for the latest ecosystem versions including Vite 8, Vue 3, and Vue Router 5. The plugin automatically processes Vue components in a designated `layouts` directory, allowing pages to declare their desired layout via route meta fields (e.g., using `lang=\"yaml\"` blocks). It currently stands at version 2.1.0, with a recent release cadence demonstrating active development to keep pace with its peer dependencies. A key differentiator is its explicit compatibility with newer major versions of Vite and Vue Router, making it a suitable choice for projects on these updated stacks. It is also designed to work seamlessly with `vite-plugin-pages` for comprehensive auto-routing and layout solutions.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","typescript","vite-plugin","vite","vue-router","vue"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vite-plugin-vue-layouts-next","imports":["import Layouts from 'vite-plugin-vue-layouts-next'","import { setupLayouts } from 'virtual:generated-layouts'","/// <reference types=\"vite-plugin-vue-layouts-next/client\" />"]},{"cmd":"yarn add vite-plugin-vue-layouts-next","imports":[]},{"cmd":"pnpm add vite-plugin-vue-layouts-next","imports":[]}],"homepage":null,"github":"https://github.com/loicduong/vite-plugin-vue-layouts-next","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-vue-layouts-next","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/vite-plugin-vue-layouts-next/compatibility"}}