Skip to content

app/utils is missing from generated content array in Nuxt 4 setup #955

@BayBreezy

Description

@BayBreezy

Environment

Reproduction

No response

Describe the bug

After setting future: { compatibilityVersion: 4 } in the nuxt.config file, and then run npm run dev, the generated config file inside .nuxt/tailwind/postcss.mjs is missing the path for app/utils/**/*.{js,ts,mjs}

It only has utils/**/*.{js,ts,mjs}

After setting app/utils/**/*.{js,ts,mjs} in the tailwind.config the styles from the utils folder started showing again.

/**@type {import('tailwindcss').Config} */
module.exports = {
  content: ["./app/**/*.{js,jsx,ts,tsx,vue}"]
}

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions