Der Inhalt dieses Artikels befasst sich mit der Behebung von Vue.js-Vorlagenfehlern. Die Lösung für die Vue.js-Vorlagenfehlerberichterstattung hat einen gewissen Referenzwert. Freunde in Not können darauf verweisen.
1. Fehlerbeschreibung
log.js?1afd:24 [HMR] Waiting for update signal from WDS... vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-col> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-list-item> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Left> at src\components\Left.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-appbar> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Top> at src\components\Top.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-icon> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Top> at src\components\Top.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-chip> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Top> at src\components\Top.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <mu-avatar> - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> <Top> at src\components\Top.vue <App> at src\App.vue <Root> warn @ vue.runtime.esm.js?2b0e:587 vue.runtime.esm.js?2b0e:8010 Download the Vue Devtools extension for a better development experience: https://github.com/vuejs/vue-devtools
2. Fehlergrund
Ich verwende die Muse-UI-Komponente, aber diese Komponente ist nicht installiert, auch nicht eingeführt, was zu „Nicht gefunden“ führt
3. Lösung
(1) Muse-UI installieren
npm i muse-ui -S
(2) Muse-UI vorstellen
import MuseUI from 'muse-ui'; import 'muse-ui/dist/muse-ui.css'; Vue.use(MuseUI);
Verwandt Empfohlen:
Wie debugge ich js? So debuggen Sie js mithilfe von Haltepunkten
js-Kompatibilitätsprobleme: Zusammenfassung der js-Ereigniskompatibilitätsmethoden (mit Beispielen)
Native js versus DOM Was kann erledigt sein? So bedienen Sie Dom mit nativem js
Das obige ist der detaillierte Inhalt vonWie behebe ich den Vue.js-Vorlagenfehler? Lösungen für Vue.js-Vorlagenfehlerberichte. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!