vite-plugin-vue-layouts
vite-plugin-vue-layouts copied to clipboard
Can support dir layout component?
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?