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

bug: prettier adds dev output to the top of the file #3247

Closed
pkpg opened this issue Oct 22, 2024 · 2 comments
Closed

bug: prettier adds dev output to the top of the file #3247

pkpg opened this issue Oct 22, 2024 · 2 comments

Comments

@pkpg
Copy link

pkpg commented Oct 22, 2024

What version of daisyUI are you using?

v4.12.13

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

not available

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>
...
Copy link

Thank you @pkpg for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

This is vim issue. I can't do anything about it.
But as a workaround, you can disable the logs: https://daisyui.com/docs/config/#logs

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

2 participants