Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find type definition file for 'nuxt-windicss' #146

Open
lewebsimple opened this issue Dec 16, 2021 · 1 comment
Open

Cannot find type definition file for 'nuxt-windicss' #146

lewebsimple opened this issue Dec 16, 2021 · 1 comment

Comments

@lewebsimple
Copy link

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:

  1. Initialize a new nuxt3 project npx nuxi init nuxt3-repro
  2. Add nuxt-windicss as devDependency and to buildModules
  3. Configure types in tsconfig.json as specified in the README
  4. 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.

@thomas4Bitcraft
Copy link

I had the same issue - resolved it by using "./node_modules/nuxt-windicss/dist",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants