Closed Roqii closed 6 years ago
Hi @Roqii , did you register it on components
:
<template>
<div>
<picker-area />
</div>
</template>
<script>
import PickerArea from 'vue-emoji-mart-picker'
export default {
components: {
PickerArea,
},
}
</script>
After registration,but the page CPU was 100% occupied, and the error "document is not defined" appeared
@Roqii If you're using Nuxt, you might config it on client side plugin (https://nuxtjs.org/guide/plugins/#client-side-only) or use no-ssr
component (https://nuxtjs.org/api/components-no-ssr#the-lt-no-ssr-gt-component)
`
` That's right. My problem was solved. Thank you
I'm developing the project with Nuxt But this happens with reference to 'vue-emoji-mart- picker'