I'm using Vue3 with Vite and Typescript, and I'm trying to use a plugin, but the example code gives an error:
import { colord } from 'colord';
import a11yPlugin from 'colord/plugins/a11y';
extend([a11yPlugin]);
[vue-tsc] Cannot find name 'extend'.
I can't seem to find any information about the keyword 'extend' so I'm at a loss here.
Maybe installing a plugin with something like
colord.use(a11yPlugin)
would be a nice solution?
I'm using Vue3 with Vite and Typescript, and I'm trying to use a plugin, but the example code gives an error:
I can't seem to find any information about the keyword '
extend
' so I'm at a loss here. Maybe installing a plugin with something likecolord.use(a11yPlugin)
would be a nice solution?