layout布局 命名时不可有大写
<template>
<NuxtLayout name="recomLays">
</NuxtLayout>
</template>
报错 nuxt3 Invalid layout
recomLay
selected.
改为:
<template>
<NuxtLayout name="recom">
</NuxtLayout>
</template>
版权声明:本文为x_Yanger原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。