进阶服务端渲染nuxtnuxt-h5-template页面布局配置页面布局配置 1、基于文件的路由: 根据代码的结构定义路由 pages/ 目录 在app.vue中,引入页面路由,通过<NuxtPage /> NuxtPage是nuxt内置的页面路由组件 2、组件自动导入: components定义的文件夹,支持tree-shaking 3、定义components/layouts文件夹,用于配置布局组件