3 methods to retrieve an asset in Angular CLI
This post was inspired by a question on StackOverflow about loading (content) of an SVG file in Angular. In general, about retrieving the content of any file.
…This post was inspired by a question on StackOverflow about loading (content) of an SVG file in Angular. In general, about retrieving the content of any file.
…In this article I will discuss several methods of adding and referring to static files in an Angular CLI application – may they be images, fonts or scripts:
assets
foldernode_modules
folder