nuxt-icon compatibility issue on Nuxt4 upgrade
Describe the bug I am getting this warning on upgrading nuxt version from 3.17.7 to 4.0.0 using codemod command
WARN Module nuxt-icons is disabled due to incompatibility issues:
│ - [nuxt] Nuxt version ^3.0.0 is required but currently using 4.0.0
To Reproduce Upgrade nuxt version from 3.17.7 to 4.0.0 and then run pnpm install command
Expected behavior nuxt-icons compatibility version for nuxt 4 should be provided
Desktop (please complete the following information):
- OS: [Windows 11]
- Browser [chrome]
@gitFoxCode Please advise if there is any expected date for library's compatible version with nuxt 4.
I need this module for Nuxt 4 as well. Has anyone worked on this already? I'm going to test this module with Nuxt 4 today and provide feedback.
This PR would be a first step: #58
I just tested the module with #58 applied. It works perfectly for my existing project. @gitFoxCode Can we please get this merged asap? This blocks me form upgrading to Nuxt 4.
Ok, the PR was merged. Thank you @gitFoxCode ❤️
@gitFoxCode Could you create a beta release, please?
@gitFoxCode Could you create a beta release, please?
I ended up migrating to nuxt-svgo its activley maintained and somewhat based on nuxt-icons
if you do migrate just pay attention to :font-controlled="false"
I don't think nuxt-svgo provides the same functionality. I migrated to nuxt-svg-icon-sprite which provides more similar features.
as long as it does the job, svgo definitely wasn't a quick swap but that was mostly just a learning curve because it automatically reduces SVGs to font size by default which messed with all my components.