NuxtJS 自定义 layout

NuxtJS 的 SPA 项目怎么处理不同的布局? # 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' } } Refer: API: The layout Property

November 2, 2019 · 1 min · K8sCat