For the standalone usage of the CoreBundle, you can configure this bundle via a configuration file under config/packages/araise_core.yaml.
# config/packages/araise_core.yaml
araise_core:
ℹ️ Note: If you are using another bundle of ours that requires the CoreBundle (for example CrudBundle or TableBundle), a change in the config of the CoreBundle will also affect the TableBundle and the CrudBundle (if they don't have a configuration). For more infos, consult their documentation.
Under the araise_core key you can use any of the following options:
enable_turbo| Type | Default | Description |
|---|---|---|
| boolean | false |
Is used to decide whether turbo is used or not |
Be sure to pay attention on how you have your CoreBundle configured.
If you set enable_turbo to true for example, you want to use document.addEventListener('turbo:load') to check when a container has been reloaded.
If you have enable_turbo disabled, you can use for example document.addEventListener('DOMContentLoaded') - just as you would in a plain HTML/CSS/JS website.
How can I help you explore Laravel packages today?