4LuckyMove / managing-tasks

Develop a simple web application for managing tasks.
0 stars 0 forks source link

templates #2

Open DenisIschenko opened 2 years ago

DenisIschenko commented 2 years ago

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

4LuckyMove commented 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?

DenisIschenko commented 2 years ago

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

4LuckyMove commented 2 years ago

understood thanks

4LuckyMove commented 2 years ago

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?