Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin adds dev output to the top of the file #324

Open
pkpg opened this issue Oct 22, 2024 · 0 comments
Open

Plugin adds dev output to the top of the file #324

pkpg opened this issue Oct 22, 2024 · 0 comments

Comments

@pkpg
Copy link

pkpg commented Oct 22, 2024

What version of prettier-plugin-tailwindcss are you using?

v0.6.8

What version of Tailwind CSS are you using?

v3.2.1

What version of Node.js are you using?

v21.0.0

What package manager are you using?

npm and bun

What operating system are you using?

macOS

Reproduction URL

not possible

Describe your issue

I am using nvim with lazyvim and I have prettier installed in my project with this setup:

{
    "$schema": "https://json.schemastore.org/prettierrc",
    "semi": false,
    "tabWidth": 4,
    "singleQuote": true,
    "printWidth": 100,
    "bracketSameLine": true,
    "trailingComma": "es5",
    "bracketSpacing": false,
    "arrowParens": "always",
    "singleAttributePerLine": true,
    "plugins": ["prettier-plugin-tailwindcss"]
}

When I save a .vue file, the following output of npm run dev gets added to the top of my vue file:

🌼   daisyUI 4.12.13
├─ ✔︎ 30 themes added		https://daisyui.com/docs/themes
╰─ ❤︎ Support daisyUI project:	https://opencollective.com/daisyui

<script setup>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant