I am using the Vue CLI webpack template, but struggling to load my own favicon.
I have run vue init webpack my-app
In index.html
I have included:
<link rel="shortcut icon" href="<%= webpackConfig.output.publicPath %>favicon.ico">
... and I DO see the default (Vue) favicon. However, I cannot work out where that favicon is located (or otherwise referenced), nor can I figure out where to place my own favicon, to replace it.
I have also followed the advice in this answer, which suggests placing the favicon image in the static
folder and including this in index.html
:
<link rel="shortcut icon" type="image/png" href="/static/favicon.png"/>
However, I do not have access to my favicon, as promised.
My guess is that the favicon location / file is referenced somewhere in the CLI config files, but I cannot find it.