如何更改Vuestic Admin主题中的图标?我查找了index.js文件,但它没有指定图标的路径。
page/public/folicon.ico
page/public/index.js
<html>
<head>
<title>My Page</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>发布于 2019-07-11 20:55:33
你只需替换公共文件夹中的默认收藏图标:https://github.com/epicmaxco/vuestic-admin/blob/master/public/favicon.ico,默认情况下浏览器会拿起它。
如果您要使用png,请将您的镜像放在公共文件夹中,并将其添加到索引模板中:
https://github.com/epicmaxco/vuestic-admin/blob/master/public/index.html
<link rel="shortcut icon" type="image/png" href="favicon.png" />希望这能有所帮助!
发布于 2021-10-22 05:19:33
<template>
<svg
class="va-icon-vuestic"
:height="height"
viewBox="0 0 478 60"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<text x="0" y="50" font-size="50px" fill="url(#paint0_linear)">your logo
</text>
<defs>
<linearGradient
id="paint0_linear"
x1="0"
y1="56.1386"
x2="357.64"
y2="56.1386"
gradientUnits="userSpaceOnUse"
>
<stop :stop-color="colorsComputed.end"/>
<stop offset="1" :stop-color="colorsComputed.start"/>
</linearGradient>
</defs>
</svg>
</template>https://stackoverflow.com/questions/56453790
复制相似问题