Skip to content

Vue script intellisense is broken #1050

@extrem7

Description

@extrem7

What version of VS Code are you using?

v1.93.0

What version of Tailwind CSS IntelliSense are you using?

v0.12.10

What version of Tailwind CSS are you using?

v3.4.11

What package manager are you using?

pnpm

What operating system are you using?

Windows

Tailwind config

/** @type {import('tailwindcss').Config} */
export default {
  content: [
    "./index.html",
    "./src/**/*.{js,ts,jsx,tsx,vue}",
  ],
  prefix:"tw-",
  theme: {
    extend: {},
  },
  plugins: [],
}

VS Code settings

{
    "tailwindCSS.experimental.classRegex": ["([a-zA-Z0-9\\-:]+)"],
    "css.validate": false,
	"tailwindCSS.includeLanguages": {
		"vue": "html",
		"vue-html": "html"
	},
	"editor.quickSuggestions": {
		"strings": true
	}
}

Reproduction URL

https://github.com/extrem7/tailwind-vue-reproduction

Describe your issue

Intellisense doesn't work in script tag. But works great in all other cases (js files, template, etc).
image
image
image

Metadata

Metadata

Assignees

No one assigned

    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