Skip to content

Tailwind intellisense not working in nuxt 3 app #702

Closed
@ThimoDEV

Description

@ThimoDEV

What version of Tailwind CSS IntelliSense are you using?

v0.9.6

What version of Tailwind CSS are you using?

"@nuxtjs/tailwindcss": "^6.2.0",

What package manager are you using?

yarn v1.22.19

What operating system are you using?

Windows

Tailwind config

/** @type {import('tailwindcss').Config} /
module.exports = {
mode: 'jit',
content: [
'./assets/**/
.css',
'./components/.{vue,js}',
'./components/**/
.{vue,js}',
'./pages/.vue',
'./pages/**/
.vue',
'./plugins/**/*.{js,ts}',
'./App.{js,ts,vue}',
'./app.{js,ts,vue}',
'./Error.{js,ts,vue}',
'./error.{js,ts,vue}',
],
theme: {
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
extend: {
colors: {
strongCyan: 'hsl(171, 66%, 44%)',
lightBlue: 'hsl(233, 100%, 69%)',
darkGrayishBlue: 'hsl(210, 10%, 33%)',
grayishBlue: 'hsl(201, 11%, 66%)',
},
},
},
plugins: [],
}

VS Code settings

{
"tailwindCSS.experimental.configFile": ".nuxt/tailwind.config.cjs",
"prettier.enable": false,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.associations": {
"*.css": "tailwindcss"
},
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"css": "css"
},
"editor.quickSuggestions": {
"strings": true
},
"css.validate": false,
"editor.inlineSuggest.enabled": true
}

[Reproduction URL

https://github.com/ThimoDEV/Nuxt3-tailwind-intelli-bug

Describe your issue

The auto complete or hover to see the css functionality stopped working in version 0.9.6 for nuxt 3 tailwind

To reproduce:

Use Tailwind intellisence 0.9.5 with the repro project. Everything works as intended. Update to 0.9.6 and intellisense isn't working anymore.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions