I have set up a Laravel with VueJs as a SPA. Also I integrated Vee Validate to validate all my form inputs. The default rules work as expected. However I don't seem to get my custom rules to work. I always get the error message:
Uncaught (in promise) Error: No such validator 'xxx' exists.
I followed this tutorial: https://medium.com/@rafaelogic/creating-a-custom-rule-in-vue-vee-validate-83777b9a5126
Here I have imported Vee Validate and the custom rules in my app.js file
Inside validators/index.js I have the following
That is the custom "rule" - just for testing inside validators/rules/number_of_electrical_feeds.js.
And that is the component that tries to use the rule - inside js/components/LuminaireLine/Form.js
What's the error I'm making?