Theme Plus Importer
This extension provides an import feature for the great Theme+ extension for Contao. 3rd party extension can use Theme Plus Importer to easily integrate their assets into Theme+.
Theme Plus importer can be installed using the composer repository:
You have to install it manually at the moment. Installing by composer is on the roadmap.
The importer auto detects which type the asset has. It detects urls (beginning with
and files. The different file sources of Theme+ are supported as well (
Add assets using the config files
Extensions can define their assets using the config vars.
Add assets using the event dispatcher
Besides assets can be imported by using the event dispatcher. This is useful, if you using some third party libraries where you want to ensure they are installed.
Note: If you do not depend on the importer you should use the internal used event name
instead of the class constant.