Nuxt 3.0.0 - Cannot find module 'tailwindcss-nesting'

Need help, after lots of Googling and combing github issues I am still stuck... I started using Nuxt 3 a week after 3.0.0 launched but having been forced to use this particular version: 3.0.0-rc.13 because 3.0.0 and 3.0.0-rc.14 do not work with @nuxtjs/tailwindcss@^6.0.0. Running nuxt dev with any version later than rc.13 throws error: Cannot find module 'tailwindcss/nesting' My nuxt.config.ts file looks like this:
export default defineNuxtConfig({
app: {
pageTransition: {
name: 'page',
mode: 'out-in'
},
layoutTransition: {
name: 'slide',
mode: 'out-in' // default
}
},
modules: [
'@nuxtjs/tailwindcss', // https://tailwindcss.nuxt.dev
],
runtimeConfig: {
public: {
pes: process.env.NODE_ENV === 'production' ? 'https://api....com/pes/v1/pub' : 'http://localhost:8991/pes/v1/pub'
}
},
tailwindcss: {
viewer: true
}
})
export default defineNuxtConfig({
app: {
pageTransition: {
name: 'page',
mode: 'out-in'
},
layoutTransition: {
name: 'slide',
mode: 'out-in' // default
}
},
modules: [
'@nuxtjs/tailwindcss', // https://tailwindcss.nuxt.dev
],
runtimeConfig: {
public: {
pes: process.env.NODE_ENV === 'production' ? 'https://api....com/pes/v1/pub' : 'http://localhost:8991/pes/v1/pub'
}
},
tailwindcss: {
viewer: true
}
})
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server