hmsk / vite-plugin-markdown

A vite plugin to import a Markdown file in various formats like Front Matter, HTML, ToC, and React/Vue Component
https://www.npmjs.com/package/vite-plugin-markdown
MIT License
263 stars 44 forks source link

ReferenceError: vueRender is not defined #444

Closed nailuox closed 7 months ago

nailuox commented 1 year ago

Vue: 2.6.x Vite: 4.x vite-plugin-markdown: 2.1.0

import { VueComponent } from './pages/00-intro.md'

···

components: {
    MarkdownContent: VueComponent
}

···

<MarkdownContent/>

image

hmsk commented 7 months ago

Unfortunately, Vue 2 is not supported.