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

icons options type error #1840

Closed
JiuRanYa opened this issue Jun 5, 2024 · 4 comments
Closed

icons options type error #1840

JiuRanYa opened this issue Jun 5, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@JiuRanYa
Copy link

JiuRanYa commented Jun 5, 2024

Environment

none

Version

v2.8.0

Reproduction

none

Description

image

Hi, ui nuxt module using @egoist/tailwindcss-icons get collectionNames, but that pkg not always using the latest version of @iconfiy/json.

Is there a better solution for this?

Additional context

none

Logs

none
@JiuRanYa JiuRanYa added the bug Something isn't working label Jun 5, 2024
Copy link
Member

Have you tried using the latest version of @nuxt/ui https://github.com/nuxt/ui/releases/tag/v2.16.0 which uses the latest from @egoist/tailwindcss-icons?

@JiuRanYa
Copy link
Author

JiuRanYa commented Jun 5, 2024

The latest from @egoist/tailwindcss-icons not using the latest @iconfiy/json. I create a pr to update the @iconfiy/json version in the @egoist/tailwindcss-icons. You can see egoist/tailwindcss-icons#47

This is the most easy way to solve this, I mean if there is a better way to solve this like auto detect the@iconfiy/json version

Copy link
Member

You might be able to solve that by installing the latest version of @iconify/json in your project or by setting a resolution.

@JiuRanYa
Copy link
Author

JiuRanYa commented Jun 6, 2024

@benjamincanac

Hi, the CollectionNames from @egoist/tailwindcss-icons is generated by scripts. So it can't solve that type error
unless I install the latest version of @egoist/tailwindcss-icons

I'm happy create a pr to update the @egoist/tailwindcss-icons version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants