Replies: 2 comments
-
Hi! @ispaomoya, I think this is a bug caused by the component registration name, which should have been fixed in the v6.0.2 release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you are using it in a local component, please use ES module introductions instead of default: import { Codemirror } from 'vue-codemirror' <Codemirror /> If you are using it globally, please import default: import { createApp } from 'vue'
import VueCodemirror from 'vue-codemirror'
const app = createApp(App)
app.use(VueCodemirror) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in components
import VueCodemirror from 'vue-codemirror'
error
runtime-core.esm-bundler.js:38 [Vue warn]: Component is missing template or render function.
Beta Was this translation helpful? Give feedback.
All reactions