Translations:New Template System in LS3.x/131/en

You can also register CSS and JS files directly from the twig code. Those files will be loaded only when the twig file is asked. If you want the users to be able to inherit those JS/Css files from the theme editor, remember to use the functions and. If you don't use those functions, your theme may work, but inheritance on it will be broken. It is the same logic as the function