I deployed my Vite React site on Netlify but my skill icons aren't rendered!!
Here's the site. https://mjshubham21-portfolio.netlify.app/.
I did execute npm run build before deploying, I got the dist folder and deployed that on Netlify.
But at first the assets folder didn't had the icons so I added it in the assets (of dist folder) folder too, but no success!!
Please help.
我想渲染我的作品集网站的技能图标。
你需要移动你的assets
目录进入public
目录,您需要删除./src
来自各种img文件的源路径。就像是:
{
id: 1,
icon: "/assets/html5.svg",
iconName: "HTML",
},
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)