Unable to change Favicon in newest SvelteKit version #11157
Replies: 3 comments
-
Hello @ucheNkadiCode |
Beta Was this translation helpful? Give feedback.
-
@ucheNkadiCode Your <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html> |
Beta Was this translation helpful? Give feedback.
-
@ucheNkadiCode As far as the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My package JSON
My app.html file is such
I've tried what feels like everything and used favicon.io to create my images. I then created a favicon folder in the static folder which should work, but nothing is working. I've also tried moving these links into svelte:head but that didn't work either.
Am I missing something? Could it be an issue in the
svelte.config.js
file? It's not working locally nor on the deployed website.Beta Was this translation helpful? Give feedback.
All reactions