Developing a Theme Plugin
A plugin can register any number of themes. To do this simple set the themes
Β property of your plugin class.
The following guide needs to be added to Themes section.
Each object in the theme property can be a BlueBase Module. This mean each theme's code can be split into different bundles on web.
Be aware though, that if you use this approach, these bundles will be downloaded during boot time. This is because BlueBase needs know each theme's name
and slug
to store them in registry.
If you want to split the theme so that they are downloaded only when selected, spilt the internal theme
property.
Last updated