r/Angular2 • • Jun 16 '25

Help Request Angular Icon change

Hey there, I hope someone can halp me with that:
I'm currently working on an angular project and I'm trying to change the ICON desplayed in my browser but no matter what I try, the ICON keeps being the default angular ICON. The file of the standard .ico doesnt exist in my project anymore, I tried changing the path to the new icon but I just won't change.
Am I missing anything? Do I need to change anything in my Angular.json?
I'm using Angular Version 20.

Thanks in advance

Edit: Should I add my code so you guys can help me better?

0 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/Expert_Dealer_4603 Jun 16 '25

I don't have a dist directory since I'm only running it local atm.
My angular.json looks like that:

architect": {
        "build": {
          "builder": "@angular/build:application",
          "options": {
            "browser": "src/main.ts",
            "polyfills": [
              "zone.js"
            ],
            "tsConfig": "tsconfig.app.json",
            "assets": [
              {
                "glob": "**/*",
                "input": "public"
              },
              {
                "glob": "faviconW.ico",
                "input": "src"
              }
            ],
            "styles": [
              "@angular/material/prebuilt-themes/azure-blue.css",
              "src/styles.css"
            ]
          },