An easy way for http request with error validation management.
Wouldn't it be great if you could just use your back end to validate forms on the front end? This package provides a BaseProxy
class that does exactly that. It can post itself to a configured endpoint and manage errors. The class is meant to be used with a Laravel back end.
Take a look at the usage section to view a detailed example on how to use it.
The code of this package is based on the Object-Oriented Forms lesson in the Vue 2.0 series on Laracasts.
Install
You can install the package via yarn (or npm):
yarn add @hsokhorn/vue-http2