Podcast Title

Author Name

0:00
0:00
Album Art

Angular 18 Assets Folder

By 10xdev team June 24, 2024
Listen

Starting with angular 18 version, there is not "assets" folder. if you need to use assets such as images in your project, you simply need to place them in the public folder and not in the assets folder.

For example, if you have a coder.jpeg image in your public folder, you can use it in your Angular template as follows:

<img src="coder.jpeg" alt="">

Join the 10xdev Community

Subscribe and get 8+ free PDFs that contain detailed roadmaps with recommended learning periods for each programming language or field, along with links to free resources such as books, YouTube tutorials, and courses with certificates.

Recommended For You

Up Next