0.0.1 • Published 4 years ago

@hsokhorn/vue-http2 v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

An easy way for http request with error validation management.

Latest Version on NPM Software License Build Status npm

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