nuxt-windicss
nuxt-windicss copied to clipboard
Cannot find type definition file for 'nuxt-windicss'
Describe the bug
It seems typings are not loaded correctly inside VSCode when adding nuxt-windicss in compilerOptions' types.
To Reproduce Steps to reproduce the behavior:
- Initialize a new nuxt3 project
npx nuxi init nuxt3-repro - Add nuxt-windicss as devDependency and to buildModules
- Configure types in tsconfig.json as specified in the README
- Open nuxt.config.ts and see following error:
Cannot find type definition file for 'nuxt-windicss'.
The file is in the program because:
Entry point of type library 'nuxt-windicss' specified in compilerOptionsts
Expected behavior nuxt.config.ts should not display any error and windicss options should have intellisense / autocompletion.
I had the same issue - resolved it by using "./node_modules/nuxt-windicss/dist",