Skip to content

Failed to resolve component in Vue Template #3235

Closed
@rpiechowicz

Description

@rpiechowicz

Environment


  • Operating System: Darwin
  • Node Version: v22.13.1
  • Nuxt Version: -
  • CLI Version: 3.21.1
  • Nitro Version: -
  • Package Manager: npm@10.9.2
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Vue

Version

3.0.0-alpha.12

Reproduction

https://codesandbox.io/p/devbox/purple-water-45l2vr

Description

In the Vue application when using the example of how to use the Table component, errors appear with [Vue warn]: Failed to resolve component: by which the code cannot be compiled correctly.

The exact issue here is for example: const UButton = resolveComponent('UButton')

In the reproduction link is the described issue for clear

Additional context

No response

Logs

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingv3#1289vue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions