Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

184
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!