The Web Blinders logo

Programming

Angular How to load external CSS files from assets directory

Open angular.json and find ["styles"] of build property, Add css file like below

"styles": [
    "src/styles.css",
    "src/assets/your-css-file-name.css"
],

ALTERNATE TITLES

Angular Loading external css files from assets

Angular Loading font files from assets

Need developers ?

if so, send a message.

thewebblinders@gmail.com

More Programming from our blog

SEARCH FOR ARTICLES