Version number:
vue/cli:4.5.12
vant:^3.0.10
Question:
Failed to resolve component: van-cell-group
at <Home onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > key=0 >
Reason: the van cell group component is not imported
Solution:
You can import it in the ‘main. JS’ file and then use it on the page
The details are as follows:
import {
createApp
} from 'vue'
import {
CellGroup
} from 'vant'
createApp(App).use(CellGroup)
Read More:
- The Vue parent component uses ref to call the sub component method and reports an error
- The uni app references the vant component and reports an error unclosed bracket when compiling
- [Vue warn]: Failed to resolve component vue3 import element error
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- An error is reported when the electron Vue Vue component introduces the electron
- Vue introduces ecarts, init initializes and reports an error
- Vue references echats and reports an error initialize failed: invalid DOM
- Lenovo x3650 M5 installation esxi-5.5.0u3 failed to resolve circular relocation
- Vue report failed to mount component: template or render function not defined
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution
- Idea installation vue.js After plug-in, new has no Vue component
- Vue install reports an error operation not allowed
- How to Solve Win10 0x8007007E Error (OPC Component)
- Vue error: did you register the component correctly? For.., make sure to provide the “name” option (solved)
- Vue + TS reports an error after configuring the path alias
- Vue reports an error sasserror: expected newline
- Vue agent reports an Error 404 nginx configuration method
- Vue Alain startup command yarn serve reports an error
- [-] handler failed to bind to x.x.x.x: Port troubleshooting