[英]How can I get an asset from another file and use it as a favicon?
Basically, I have an assets
file where I have all the assets of my project.基本上,我有一个assets
文件,其中包含我项目的所有资产。 This is outside of my project folder.这是在我的项目文件夹之外。 I want to set an image from the assets
file as my Favicon.我想将assets
文件中的图像设置为我的 Favicon。 My current file structure looks something like this:我当前的文件结构如下所示:
尝试这个:
<link rel="icon" href="Project/Assets/image.png" type="image/x-icon" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.