import { ColorPicker } from "vue3-colorpicker";
^^^^^^^^^^^
SyntaxError: Named export 'ColorPicker' not found. The requested module 'vue3-colorpicker' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'vue3-colorpicker';
const { ColorPicker } = pkg;
import { ColorPicker } from "vue3-colorpicker"; ^^^^^^^^^^^ SyntaxError: Named export 'ColorPicker' not found. The requested module 'vue3-colorpicker' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using:
import pkg from 'vue3-colorpicker'; const { ColorPicker } = pkg;