Reeed
Reeed
Explore posts from servers
NNuxt
Created by Reeed on 10/20/2024 in #❓・help
vscode complains about auto imports
there is a utils/index.ts in my project, i know it would be auto imported into my vue components and it works fine, but the vscode would complain about it like this:
Property 'toLocal' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{ course: CourseExt; }, {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.
Property 'toLocal' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{ course: CourseExt; }, {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ... 18 more ..., {}>'.
where toLocal is the helper function in the utils/index.ts file, how can i fix this?
1 replies
NNuxt
Created by Reeed on 3/14/2024 in #❓・help
can't find module tailwindcss
after i installed the @nuxt/ui module, i tried to import some types from tailwindcss like this import type {Config} from 'tailwindcss', but it didn't work, so tailwindcss is apparently missing and i'm not sure if i should install tailwindcss again to use the types. don't know what i'm missing here
5 replies
NNuxt
Created by Reeed on 6/16/2023 in #❓・help
cant find matching api routes but its working
No description
3 replies