hinesboy / mavonEditor

mavonEditor - A markdown editor based on Vue that supports a variety of personalized features
http://www.mavoneditor.com/
MIT License
6.38k stars 916 forks source link

Why can't the page be displayed? #769

Closed myfaraway closed 2 years ago

myfaraway commented 2 years ago

<template>
<div>
    <div >
           <mavon-editor style="height: 100%"></mavon-editor>
          </div>
</div>
</template>

<script>

 import { mavonEditor } from 'mavon-editor'
 import 'mavon-editor/dist/css/index.css'

export default {
    name: 'Markdown',
    data() { //选项 / 数据
        return {
        }
    },
    methods: { //事件处理器

    },
    components: { //定义组件

        "mavon-editor":mavonEditor

    },
    created() { //生命周期函数

    }
}
</script>

<style>

</style>

mavon-edit

myfaraway commented 2 years ago

This problem may be due to the vue2 used