Environment
- Operating System: Windows_NT
- Node Version: v20.14.0
- Nuxt Version: 3.6.5
- CLI Version: 3.12.0
- Nitro Version: 2.9.6
- Package Manager: pnpm@9.4.0
- Builder: -
- User Config: devtools, modules
- Runtime Modules: @nuxtjs/tailwindcss@6.12.0
- Build Modules: -
Reproduction
No response
Describe the bug
In a newly created Nuxt.js project, running nuxt dev fails after adding @nuxtjs/tailwindcss to nuxt.config.ts. The error points to this line of code.
|
if (templates.some(t => configPaths.includes(t.dst))) { |
Here is my nuxt.config.ts
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxtjs/tailwindcss'],
});
Additional context
The project is a pnpm monorepo where all packages are inside the folder apps and @nuxtjs/tailwindcss has been installed with pnpm --filter=@project/nuxtjs -D -E @nuxtjs/tailwindcss
Logs
No response
Environment
Reproduction
No response
Describe the bug
In a newly created Nuxt.js project, running
nuxt devfails after adding@nuxtjs/tailwindcsstonuxt.config.ts. The error points to this line of code.tailwindcss/src/context.ts
Line 190 in a0d7599
Here is my
nuxt.config.tsAdditional context
The project is a
pnpmmonorepo where all packages are inside the folderappsand@nuxtjs/tailwindcsshas been installed withpnpm --filter=@project/nuxtjs -D -E @nuxtjs/tailwindcssLogs
No response