React之改变页面上方图标
2024-10-19 18:41:26
首先在public/index.html中
<!-- <link rel="shortcut icon" href="%PUBLIC_URL%/bitbug64.ico" /> -->
<link rel="shortcut icon" href="./bitbug128.ico" />
最终改变
这个图标
误区:
一开始可能会考虑直接修改
<link rel="shortcut icon" href="%PUBLIC_URL%/bitbug64.ico" />
但是这样是获取不到图标的,这里指向的是字体图标。
最新文章
- myeclipse中disable maven nature
- C# Reflection Type/MethodInfo
- 问题处理:找不到Pch预编译文件?
- Ambient Occlusion
- Android 使用库项目时的一个特殊tip
- applicationContext.xml 配置
- nyoj 123 士兵杀敌(四) 树状数组【单点查询+区间修改】
- UDP编程
- Jquery中index()问题
- HDOJ(HDU) 2164 Rock, Paper, or Scissors?
- winform —— listview创建表及简单的增删改查
- VBS基础篇 - VBScript过程
- A Bit Fun
- Android IntentService使用介绍以及源码解析
- 一种特殊的 jpg 图片: MagickProfileImage() sRGB.icc
- Linux下使用bind,epoll对网络编程封装
- HttpFilter
- Tkinter学习
- gil基本介绍
- easyui-combobox绑定回车事件注意事项