Closed RayGuo-ergou closed 1 year ago
I have tried to create ~/error.vue
and ~/layouts/error.vue
but both does not work.
Please update your node version to the latest and use pnpm
instead of npm
. It worked for me.
Please update your node version to the latest and use
pnpm
instead ofnpm
. It worked for me.
This bug even exists in template production (Please check the URL I provided).
I have tried to create
~/error.vue
and~/layouts/error.vue
but both does not work.
in nuxt.config.ts, turn documentDriven to false
in nuxt.config.ts, turn documentDriven to false
Cheers, it works.
@viandwi24 After reading the Nuxt content
document: This mode creates a direct binding between the content/ directory and pages. I reckon that this configuration is supposed to be set as false in this project. WDYT?
When entering any unknown route, it will only show
Document not found
unless I use the/404
route.example