Reeed
Explore posts from servers[Nuxt UI 3] Cannot find module '#build/app.config' or its corresponding type declarations
I'm using Nuxt UI 3 in my vue(not nuxt) project. When I run
vite build
, the build will failed and gives me errors like Cannot find module '#build/app.config' or its corresponding type declarations.
or Cannot find module '#imports' or its corresponding type declarations.
. It seems like many ui components have these two imports but they can't be found in the package.json
file or anywhere else. Does this have to do with nuxt not being installed or anything?9 replies
change appearance of components between light and dark mode in nuxt ui 3
i alwasy get the components with light styling by default, but i can't find in the documentation about how to change the appearance for components in dark mode.
i installed nuxt ui in my vue project btw.
5 replies
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:
where toLocal
is the helper function in the utils/index.ts
file, how can i fix this?26 replies
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 here5 replies