diff --git a/src/vee-validate-laravel.js b/src/vee-validate-laravel.js index 89e876d..f0b9d01 100644 --- a/src/vee-validate-laravel.js +++ b/src/vee-validate-laravel.js @@ -25,10 +25,9 @@ export default { } }; + Vue.prototype.$laravelData = {}; if(options) { Vue.prototype.$laravelData = options; - } else { - Vue.prototype.$laravelData = {}; } } -}; \ No newline at end of file +};