You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to put mine in the assets folder and change the path in the index.html
Reacted by Chris Everett, TylerLindell, Mani SRIPATHI, Elias Lexl, Alexandros Papadopoulos, Anton Belonovich, Brent, Charly, James Bistis, Joseph Scafidi and 21 more
Reacted by Charly, Ashraful Islam, Daniel Accorsi and Mahesh Kumar
Reacted by Daniel Accorsi, Mahesh Kumar, romainav and lbuchananVT
Reacted by lisa, Brian Asquith, Daniel Accorsi, Rafaela Paula, Mahesh Kumar, Andrea and Maniyarasi
If someone wants to do a pull request to fix this, please go ahead. There is too much overhead for me to follow the developers guidelines just for this simple fix. I don't have the time right now. Thanks!
I'd be tempted to rather have favicon.ico in the assets folder and change the url in the index.html accordingly. (And of course also change ng new ... to generate seed sources as such).
Activity
jbeckton commentedon Sep 19, 2016
I had to put mine in the assets folder and change the path in the index.html
peterennis commentedon Sep 20, 2016
I could not find any assets folder in the system. Starting with new ...
Here: #713
is another reference from @ustaDAH
peterennis commentedon Sep 20, 2016
This also seems related: #2202
jbeckton commentedon Sep 20, 2016
You have to create an assets folder in your src folder. By convention the CLI will copy it for you to /dist.
The webpack version of the CLI replaced the public folder for one named assets
ustaDAH commentedon Sep 21, 2016
@jbeckton @peterennis yes that (creation of
/src/assets) worked.pauldubois777 commentedon Sep 21, 2016
How do we find out if the team still wants to have the favicon.ico file copied during build?
It appears this might have been lost in Pull Request 2056
If it should still do this, I think the following will fix it...
In packages\angular-cli\models\webpack-build-common.ts update the plugins object to include a copy of the favicon.ico file:
If someone wants to do a pull request to fix this, please go ahead. There is too much overhead for me to follow the developers guidelines just for this simple fix. I don't have the time right now. Thanks!
Paul
nmorado commentedon Sep 21, 2016
This works! Thanks
filipesilva commentedon Sep 22, 2016
Dupe of #2137
ustaDAH commentedon Sep 22, 2016
I'd be tempted to rather have favicon.ico in the assets folder and change the url in the index.html accordingly. (And of course also change
ng new ...to generate seed sources as such).JScafidi616 commentedon Feb 21, 2018
It Works! Thanks!
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.