diff --git a/composer.json b/composer.json index 019799c..9d021ca 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "require": { "php": "^8.0|^8.1|^8.2", "laravel/framework": "*", - "rapidez/core": "^2.0|^3.0" + "rapidez/core": "^2.8|^3.0" }, "autoload": { "psr-4": { diff --git a/resources/js/package.js b/resources/js/package.js index 00d3b8f..b2c3809 100644 --- a/resources/js/package.js +++ b/resources/js/package.js @@ -1,6 +1,6 @@ import { set, useDebounceFn, useMemoize } from "@vueuse/core"; -document.addEventListener('turbo:load', function () { +document.addEventListener('vue:loaded', function () { window.app.$on('postcode-change', useDebounceFn(updateAddressFromPostcodeservice, 100)); })