https://laravel.com/docs/9.x/structure#the-resources-directory
The resources directory contains your views as well as your raw,
un-compiled assets such as CSS or JavaScript.
????
Instead the files in the other directories are compiled?
Yes.
Usually for production JavaScript and CSS gets "compiled". This is not
the same as compiling source code to a binary form, but still the
"compiled" versions are optimized for production use.
Example:
<https://arnowelzel.de/res-3.4.2/wp-content/plugins/lightbox-photoswipe/assets/scripts.js>
This file is based on multiple "source" files which get combined and "minified" for production use. This can also be seen als "compiling" something.
Il 26/05/22 17:45, Arno Welzel ha scritto:
Yes.
Usually for production JavaScript and CSS gets "compiled". This is not
the same as compiling source code to a binary form, but still the
"compiled" versions are optimized for production use.
Example:
<https://arnowelzel.de/res-3.4.2/wp-content/plugins/lightbox-photoswipe/assets/scripts.js>
This file is based on multiple "source" files which get combined and
"minified" for production use. This can also be seen als "compiling"
something.
thanks
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 349 |
Nodes: | 16 (2 / 14) |
Uptime: | 120:09:07 |
Calls: | 7,612 |
Files: | 12,787 |
Messages: | 5,684,116 |