Vue中修改浏览器标题和图标
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 chars...
·
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.实现效果如下:
更多推荐
已为社区贡献9条内容
所有评论(0)