Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG的图标资料在哪里,如何引入的,找不到 #22

Open
rodice opened this issue Sep 27, 2019 · 4 comments
Open

SVG的图标资料在哪里,如何引入的,找不到 #22

rodice opened this issue Sep 27, 2019 · 4 comments

Comments

@rodice
Copy link

rodice commented Sep 27, 2019

SVG的图标资料在哪里,如何引入的,找不到

@huangshizhan
Copy link

同问?

@litblue
Copy link

litblue commented Oct 11, 2019

我也没有找到,菜单部分的图标直接在layout/leftMenu 中将原来的 <icon-svg v-if="item.meta.icon" :icon-class="item.meta.icon" />标签替换成<i :class="item.meta.icon"></i>,再在router/index.js中将icon替换成Element-ui里的icon。

icon

@wdlhao
Copy link
Owner

wdlhao commented Oct 11, 2019

svg图标,是通过线上网址iconfont, 在public/index.html中引入的,<script src="//at.alicdn.com/t/font_1258069_e40c6mwl0x8.js"></script>,图标是自己添加进去的,再通过公共组件iconSvg引入。
如果你们想要使用自己的线上iconfont图标,只需更换为自己的线上地址即可;

@sunshineprincessnt
Copy link

请问选中后点亮的图标如何配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants