Skip to content

[Question] Can I use nuxt-icons with nuxt extends? #30

Open

Description

@szulcus

Nuxt extends docs: https://nuxt.com/docs/examples/advanced/config-extends/

When I move my ~/assets/icons directory to base folder and axtend Nuxt with ./base, icons is didn't work. I tried to install the module directly in base, but then the module is not loaded at all. What can I do wrong?

image

Activity

  1. vacijj commented on Jan 26, 2023

    @vacijj

    We get the same error, when we extend from a module.

    @gitFoxCode do you have already an idea how to fix it or should I dig into it and provide a PR?

    Workaround

    We created a symlink in the root project. In your case the following might work.

    cd assets
    ln -s ../base/assets/icons
    

    This restricts you to load the icons only from one location. But it is a workaround.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions