diff --git a/src/axm_helper.php b/src/axm_helper.php index cb4b5a2..a7c70ba 100644 --- a/src/axm_helper.php +++ b/src/axm_helper.php @@ -61,6 +61,9 @@ function raxm(string $component) // Get the Raxm instance from the application. $raxm = app('raxm'); + // Boot the Raxm instance if necessary. + $raxm->boot(); + // Initialize and use the specified Raxm component. return $raxm::initializeComponent($component); }