Skip to content

Can not change/update sidemenu's icons #588

@vsirghii

Description

@vsirghii
  • Operating system and version: Windows 11
  • Browser and version: Chrome Version 99.0.4844.84 (Official Build) (64-bit)

Hello, I'm trying to change icons on the sidebar, but with no success. Whenever I change an icon name in _nav.js:

{
  component: 'CNavItem',
  name: 'Explore',
  to: '/pages',
  icon: 'cil-folder',
},

the icon 'cil-folder' won't be displayed, whereas all the existing icon, ex. 'cil-notes', works fine.
I have a feeling that icons have to be somehow declared/imported before referencing them. Is that true? How to change icons on the sidebar menu??? What I'm missing here?

Thank you,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions