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:

Check to be sure that port 22 is enabled before you reload

 https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting  ENABLED=yes  in  /etc/ufw/ufw.conf  did it for me. $ sudo ...