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:

URL parameters with React Router

 https://ui.dev/react-router-url-parameters If you're reading this, you're probably familiar with the idea of function parameters. T...