Open DenisIschenko opened 2 years ago
ok, i got it for that. But what about css and js that are needed for one page? Is it right that they can be added to the current page for which they are needed?
in base template you can create block for css and js that will be used on page that you need by styles and script that used on each page should be in one place
understood thanks
I saw that they practice inheritance through separate files using "include". I can use this practice, put all css and js connections into separate files and inherit from them. It'll do?
Now you have several base templates, it will be problem if you need to redesign front-end part. You need to create one base template and all css and js files you use in project must be set in one place