Skip to content

Commit

Permalink
Listen to vue:loaded (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
indykoning authored Nov 29, 2024
1 parent c67e70e commit 4ac6371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion resources/js/package.js
Original file line number Diff line number Diff line change
@@ -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));
})

Expand Down

0 comments on commit 4ac6371

Please sign in to comment.