Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

189
Vistas
How to correctly use mavon-editor like markdown editor in Vue3.js apps?

I tried to install mavonEditor as markdown editor for my latest vue3.js app and also used vite for building vue.js apps. First of all, I followed the document of mavonEditor, mavon component is not defined.

I installed mavon-editor(v2.10.4) using by npm. And then, change the main.js like below.

import { createApp } from "vue";
import App from "./App.vue";
import "./assets/tailwind.css";
import mavonEditor from "mavon-editor";
import "mavon-editor/dist/css/index.css";

createApp(App).use(mavon).mount("#app");

and I tried to use editor component to App.vue like that.

<template>
  <div>
    <mavon-editor v-model="value" />
  </div>
</template>

<script>
import { ref } from "@vue/reactivity";

export default {
  setup() {
    const value = ref("its my first mavon editor!");
    return { value };
  },
};
</script>

Open the browser(Chrome), but any items wasn't show. Instead of editor, that error occurred in console.

Uncaught ReferenceError: mavon is not defined

I really want to know how to correctly use mavon-editor in Vue3.js. Does anyone help me, please?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda