vite-vuetify-ts-starter icon indicating copy to clipboard operation
vite-vuetify-ts-starter copied to clipboard

import colors from vuetify/lib/util/colors

Open f1eeman opened this issue 2 years ago • 1 comments

image Eslint doesn't see imports

f1eeman avatar Nov 07 '22 07:11 f1eeman

I don't know because there is no type definition on the Vuetify side. For the time being, please add .mjs and import it after disabling the error as follows.

// @ts-ignore
import colors from 'vuetify/lib/util/colors.mjs';

logue avatar Nov 08 '22 00:11 logue