Failed to resolve component in pages
See original GitHub issueEnvironment
- Operating System:
Linux
- Node Version:
v16.14.2
- Nuxt Version:
3.0.0-rc.10
- Nitro Version:
0.5.3
- Package Manager:
npm@7.17.0
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
https://stackblitz.com/edit/nuxt-starter-gvuntx
Describe the bug
App.vue change component workin, but pages in create all page, change component is error and broken components.
Failed to resolve component: NConfigProvider
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
Vue 3 - "Failed to resolve component" with global components
Registering components in the root component's components option doesn't make them global. Doing that just makes them available to the root ...
Read more >Ionic Troubleshooting Guide: Common Vue App Development ...
[Vue warn]: Failed to resolve component: ion-button ... order for page transitions to work correctly, each page must have an ion-page component at...
Read more >Vue and Web Components | Vue.js
This will cause Vue to emit a "failed to resolve component" warning during development. To let Vue know that certain elements should be...
Read more >Vue3 and TrixEditor: Failed to resolve component: trix-editor
[Vue warn]: Failed to resolve component: trix-editor at <TrixComponent id="A" ... <BaseLayout> <template v-slot:header> <h1>Here might be a page title</h1> ...
Read more >[vue warn]: failed to resolve component - You.com
js?fea0:38 [Vue warn]: Failed to resolve component: blogpost If this is a native custom element, make sure to exclude it from component resolution...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nuxt works slightly differently. You declare the list of possible components up-front. And then, yes, Nuxt detects usage and imports automatically. But declaring list is important for things like integration with IDE.
@danielroe problem solved. I have to change directory name