If you have logo.svg
:
- Put it inside your
src/assets
folder - Include folder in the
angular.json
config:"assets": [ "src/assets" ]
- Refer to it from template:
<img src="https://stackoverflow.com/questions/53066823/assets/svg/logo.svg">
If you have logo.svg
:
src/assets
folderangular.json
config: "assets": [ "src/assets" ]
<img src="https://stackoverflow.com/questions/53066823/assets/svg/logo.svg">