修改vue-cli脚手架顶部图标
2024-08-31 23:49:28
1. 将ico图标放到static目录下
2. 在 build/webpack.dev.conf.js 文件修改
new HtmlWebpackPlugin({
...
favicon: './static/favicon.ico' //首页图标
})
3.index.html 文件添加
<link rel="shortcut icon" href="static/favicon.ico" type="image/x-icon"/>
4. 重启服务
npm run dev
最新文章
- MySQL生成模型
- 堆排序 Heapsort
- winform 使用 ReportViewer做报表
- cocoapods安装以及使用,安装过程中ruby版本过低
- 破解软件感悟-PE文件格式之Import Table(引入表)(四)
- windows phone URI映射
- PAT_1007 素数对猜想
- POJ 3458 Colour Sequence(简单题)
- python有些错误换行问题解决
- PHP 无限级分类(递归)
- shell if相关参数
- 让linux 服务器网卡物理口不停闪烁
- Redis之(一)初识Redis
- CodeForces Round #545 Div.2
- ArcSDE10.1配置Oracle 监听器来使用SQL操作ST_Geometry(个人改动版)
- bzoj 2054: 疯狂的馒头(线段树||并查集)
- linux安装lamp/lamp/lanmp
- 【高并发解决方案】7、一致性hash解读
- 计蒜客-跳跃游戏二 (简单dp)
- Implement a deployment tool such as Ansible, Chef, Puppet, or Salt to automate deployment and management of the production environment
热门文章
- rsync启动脚本
- [LeetCode] 373. Find K Pairs with Smallest Sums 找和最小的K对数字
- Dojo入门:dojo中的事件处理
- Day05:循环问题 / 数组
- 【PI系列】SAP IDOC发送状态03,PI没有收到消息的解决办法
- kettle学习资料
- 为什么要malloc()?何时要malloc()?如何使用malloc()?
- 【转帖】Linux系统上面qemu 模拟arm
- Sqlserver限制用户访问指定数据库
- $Prufer$序列