1.引入图标,在index.html中引入

2.index.html实现代码如下:

<link rel="icon" type="image/x-icon" href="./src/assets/icon/Vue.png">

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>Vue</title>

<link rel="icon" type="image/x-icon" href="./src/assets/icon/Vue.png">

</head>

<body>

<div id="app"></div>

</body

</html>

3.实现效果如下:

Logo

前往低代码交流专区

更多推荐