coreui-free-bootstrap-admin-template icon indicating copy to clipboard operation
coreui-free-bootstrap-admin-template copied to clipboard

Can not change/update sidemenu's icons

Open vsirghii opened this issue 2 years ago • 0 comments

  • 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,

vsirghii avatar Apr 01 '22 07:04 vsirghii