NuxtJS 自定义 layout

NuxtJS 自定义 layout

NuxtJSSPA 项目怎么处理不同的布局?

# Use the layout key in your pages components to define which layout to use:
# In this example, Nuxt.js will include the layouts/blog.vue file as a layout for this page component.
export default {
layout: 'blog',
// OR
layout (context) {
return 'blog'



Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now