How to access files from assets folder in angular 2?

Source: https://stackoverflow.com/questions/41917683/how-to-access-files-from-assets-folder-in-angular-2

You have to put your files and use the relative path from the assets folder.
For example if i put a css file in src/assets/css/myfile.css, then I have to access it like this :
<link rel="stylesheet" href="assets/css/myfile.css">

Không có nhận xét nào:

Is it okay to use both fetchpriority="high" and loading="eager" in img tag?

 https://stackoverflow.com/questions/77744344/is-it-okay-to-use-both-fetchpriority-high-and-loading-eager-in-img-tag Yes Fetchpriority and l...