vite-plugin-vue-layouts icon indicating copy to clipboard operation
vite-plugin-vue-layouts copied to clipboard

Can support dir layout component?

Open ilxqx opened this issue 8 months ago • 0 comments

Hey, Thanks for your work. The idea of this plugin is very GREAT! Consider the structure below:

./layouts
├── blank
│   └── index.vue
└── default
    ├── components
    │   ├── header.vue
    │   ├── main.vue
    │   └── menu.vue
    └── index.vue

The reason a layout is organized as a folder is to allow all specific components related to that layout to be placed within a single folder. This way, my requirement is that the default layout component should be layouts/default/index.vue instead of layouts/default.vue.

Is it possible to satisfy this requirement?

ilxqx avatar Jun 20 '24 06:06 ilxqx