Can't use this plugin with nuxt3.1

This issue has been tracked since 2022-12-27.


@nuxtjs/tailwindcss: 0.5.8
nuxt: Nuxt 3.0.1-rc.0-27863365.da6fa9a

Reproduction Link

Steps to reproduce

Install this module in a nuxt3.1 project
Add a plugin in the tailwind.config.js

What is Expected?

To work!

What is actually happening?

This happens:

ERROR  Cannot start nuxt:  Cannot find module 'tailwindcss/plugin'                                                                         21:21:36
Require stack:
- C:\Users\esoubiran\projects\\node_modules\@tailwindcss\typography\src\index.js

  Require stack:
  - node_modules\@tailwindcss\typography\src\index.js
  at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
  at Function.resolve (node:internal/modules/cjs/helpers:109:19)
  at _resolve (node_modules\jiti\dist\jiti.js:1:243302)
  at jiti (node_modules\jiti\dist\jiti.js:1:245428)
  at C:/Users/esoubiran/projects/
  at jiti (node_modules\jiti\dist\jiti.js:1:247502)
  at C:/Users/esoubiran/projects/
  at Object.jiti (node_modules\jiti\dist\jiti.js:1:247502)
  at resolveConfig (/C:/Users/esoubiran/projects/
  at loadConfig (/C:/Users/esoubiran/projects/                                      21:21:34  
  at async loadNuxtConfig (/C:/Users/esoubiran/projects/
  at async loadNuxt (/C:/Users/esoubiran/projects/
  at async loadNuxt (/C:/Users/esoubiran/projects/
  at async load (/C:/Users/esoubiran/projects/
  at async Object.invoke (/C:/Users/esoubiran/projects/
  at async _main (/C:/Users/esoubiran/projects/
More Details About Repo
Owner Name nuxt-modules
Repo Name tailwindcss
Full Name nuxt-modules/tailwindcss
Language TypeScript
Created Date 2019-04-04
Updated Date 2023-03-29
Star Count 1285
Watcher Count 12
Fork Count 157
Issue Count 57


Issue Title Created Date Updated Date