diff --git a/templates/element/helper/FilePool.php b/templates/element/helper/FilePool.php index 5444bc4..83bbda8 100644 --- a/templates/element/helper/FilePool.php +++ b/templates/element/helper/FilePool.php @@ -13,7 +13,7 @@ if (!$this->helpers()->has('ViteScripts')) { - $this->addHelper('ViteHelper.ViteScripts'); + $this->loadHelper('ViteHelper.ViteScripts'); } $this->ViteScripts->script([], new ViteHelperConfig([