Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve error.vue in nuxt layers #15717

Closed
3 of 4 tasks
cpreston321 opened this issue Dec 5, 2022 · 0 comments · Fixed by nuxt/framework#9521
Closed
3 of 4 tasks

resolve error.vue in nuxt layers #15717

cpreston321 opened this issue Dec 5, 2022 · 0 comments · Fixed by nuxt/framework#9521
Assignees

Comments

@cpreston321
Copy link
Contributor

cpreston321 commented Dec 5, 2022

Describe the feature

I want to create a default error.vue within the layer that the main app extends, currently doesn't resolve to layers only the main app.

https://github.com/nuxt/framework/blob/24cf27e57b35a8027907dfaa16e3a8b8e70bde0a/packages/nuxt/src/core/app.ts

app.errorComponent = (await findPath(['~/error'])) || resolve(nuxt.options.appDir, 'components/nuxt-error-page.vue')

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants