Template directive: Src / Ress

The @src() or @ress() directive is used to link to static files that exists within the res/ static resource files directory of the project application. This does not convert urls to script tags as only the relative file paths are returned as http protocol format.
src() / ress()
  @src('assets/file.css')  http://{domain}/res/assets/file.css 
  
  @ress('assets/file.css') http://{domain}/res/assets/file.css 
                  


From the above, notice that the relative file path supplied is automatically preceded by the res/ parent directory. This is because, the res directory is the default directory where static files are expected to be stored.