Skip to content

nuxt-icon compatibility issue on Nuxt4 upgrade #61

Open

Description

@Prakhar-compro

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]

Activity

  1. added
    bug
    on Jul 29, 2025
  2. Prakhar-compro commented on Jul 29, 2025

    @Prakhar-compro
    Author

    @gitFoxCode Please advise if there is any expected date for library's compatible version with nuxt 4.

  3. luksak commented on Aug 22, 2025

    @luksak

    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

  4. luksak commented on Aug 22, 2025

    @luksak

    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.

  5. luksak commented on Aug 22, 2025

    @luksak

    Ok, the PR was merged. Thank you @gitFoxCode ❤️

  6. luksak commented on Aug 22, 2025

    @luksak

    @gitFoxCode Could you create a beta release, please?

  7. Toocky commented on Sep 16, 2025

    @Toocky

    @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"

  8. luksak commented on Sep 23, 2025

    @luksak

    I don't think nuxt-svgo provides the same functionality. I migrated to nuxt-svg-icon-sprite which provides more similar features.

  9. Toocky commented on Sep 23, 2025

    @Toocky

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions