-
Notifications
You must be signed in to change notification settings - Fork 23
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
An error occurred after installation #183
Comments
Do you mind creating a simple reproduction? |
@atinux @farnabaz @helloshaohua Hi~ I also encountered this issue, and it can be resolved by wrapping the code with dependencies: devDependencies: |
Same thing happened to me, I solved it by adding .client.vue to my component but as they said previously, not the final/ideal solution. |
Fixed it by creating Without shamfully hoisting, making the page .client.vue also worked for me. Wrapping with
// pages/index.vue
<script setup lang="ts">
const sampleText = `
# Hello
This is a sample markdown text.
`;
</script>
<template>
<div>
<MDC :value="sampleText " tag="article" />
</div>
</template> |
I had this problem for a few days, and I found a solution.
then //nuxt.config.ts
mdc: {
remarkPlugins: {
emoji: {
src: 'remark-emoji'
}
}
}, |
The text was updated successfully, but these errors were encountered: