You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Vue single file component, import the `ColorPicker` component and its styles (if you want to use them).
50
50
51
-
When using [Vue’s composition API](https://vuejs.org/guide/extras/composition-api-faq.html), you can directly use the component in the file’s `template` section once you import it.
52
-
53
51
```vue
54
52
<template>
55
53
<ColorPicker />
@@ -64,6 +62,8 @@ import { ColorPicker } from 'vue-accessible-color-picker'
64
62
</style>
65
63
```
66
64
65
+
When using [Vue’s composition API](https://vuejs.org/guide/extras/composition-api-faq.html), you can directly use the component in the file’s `template` section once you import it.
66
+
67
67
You can also register the component and import the styles globally.
0 commit comments