bhuh12 / vue-router-tab

Vue.js tab components, based on Vue Router.

Home Page:https://bhuh12.github.io/vue-router-tab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icon not load properly

tarzanking opened this issue · comments

Describe the bug
Icon not load properly
image

Please check the class of the font icon

hi my icon class is icon-user
In router was use icon-user


meta: {
            title: 'Page', // tab title
            icon: 'icon-user', // tab icon, optional
            tabClass: 'custom-tab', // custom class, optional
            tips: 'This is a tab', // tab tooltip, optional. defaults to `meta.title`
            key: 'path', // tab cache rule, optional
            closable: false // is tab closable, defaults to `true`
          }

image
Use the development tool to check whether the class of the icon node matches the style sheet, this seems to be a problem with the style of the font icon.

After added the font-family into css it work thanks man !!

.router-tab__item-icon{
  font-family: 'feather';
}