CSS, JS, external libraries and images - freakimkaefig/Music-XML-Analyzer GitHub Wiki

CSS

CSS files should be in directory /public/css/.
The stylesheets are included in head.blade.php in /app/views/layout/head.blade.php. Syntax for stylesheets:

{{ HTML::style('css/SOMEFILE.css'); }}

JS

JS files should be in directory /public/js/.
The scripts are included in scripts.blade.php in /app/views/layout/scripts.blade.php. Syntax for scripts:

{{ HTML::script('js/SOMESCRIPT.js') }}

External libraries

External libraries should be in a subdirectory inside /public/libs/.
Naming syntax of subdirectory is <name-of-lib>-<version>. Syntax for libs:

{{ HTML::script('libs/NAME-VERSION/SOMESCRIPT.js') }}

Images

Images should be in /public/images/.

⚠️ **GitHub.com Fallback** ⚠️