Ensure SSR Compatibility (Nuxt/SSR)
mainBecause vue-color components rely on DOM interaction, they must be rendered on the client side. If using Nuxt, wrap the picker in a <ClientOnly> component.
<template>
<ClientOnly>
<ChromePicker />
</ClientOnly>
</template>
<script setup lang="ts">
import { ClientOnly } from '#components';
import { ChromePicker } from 'vue-color';
</script>