ItalyStrap / italystrap

ItalyStrap is a WordPress theme Framework for awesome website, it is all developed in OOP, you can extend it with a child theme and is FSE compatible
https://italystrap.com
GNU General Public License v2.0
49 stars 19 forks source link

Assets docs #33

Open overclokk opened 2 years ago

overclokk commented 2 years ago

This is a note to explain how the assets works for now:

With an active child ItalyStrap will load it's own assets (index[.min].js, inde[.min].css), to override those we can:

Add index[.min].js, inde[.min].css to the same path of the parent or add a config file that return an array with the config needed by the AssetsManager (or just an epty array and will not be loaded nothing), you can see this file in the config/assets directory.

I want in future to do a better workflow for this.