1、生成ico图标
http://www.faviconico.org/favicon
2、直接命名为favicon.ico,存放在static目录
3、在主文件index.html内中直接引入图标文件
<link href="./static/favicon.ico" rel="shortcut icon" type="image/x-icon">
4、重新运行项目
npm run dev
5、存在缓存情况的话:强制刷新( ctrl+F5 )
1、生成ico图标
http://www.faviconico.org/favicon
2、直接命名为favicon.ico,存放在static目录
3、在主文件index.html内中直接引入图标文件
<link href="./static/favicon.ico" rel="shortcut icon" type="image/x-icon">
4、重新运行项目
npm run dev
5、存在缓存情况的话:强制刷新( ctrl+F5 )