Skip to content

Latest commit

 

History

History

layouts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Layouts

Vue components in this dir are used as layouts.

By default, default.vue will be used unless an alternative is specified in the route meta.

With unplugin-vue-router and vite-plugin-vue-layouts, you can specify the layout in the page's SFCs like this:

<route lang="yaml">
meta:
  layout: home
</route>