Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引用预览组件失败 #27

Open
sangthian opened this issue Sep 8, 2021 · 0 comments
Open

引用预览组件失败 #27

sangthian opened this issue Sep 8, 2021 · 0 comments

Comments

@sangthian
Copy link

在Vue工程中的一个页面引用你的组件失败,大概是这么写的:

<template>
    <div>
        <le-preview :id-md="true" :value="conf"></le-preview>
    </div>
</template>

<script>
import lePreview from 'le-markdown-editor'
export default{
    components: {lePreview}
}
</script>

然后就报错:
[Vue warn]: Failed to mount component: template or render function not defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant