프로젝트
GitHub에서 보기
janiskelemen/formvuelar
소개
Vue form components with server-side validation in mind
웹 및 앱 개발What you can do
- Works out of the box with Laravel
- Axios integration
- Select with search and remote source option
- Nested Checkboxes
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
Vue form components with server side validation in mind
About
FormVuelar is a set of Vue 3 form components designed to automatically display errors coming back from your backend. It works out of the box with the error message bag Laravel returns when submitting an AJAX form.
Examples
Give it a try!Documentation
Features
- Works out of the box with Laravel
- Axios integration
- Select with search and remote source option
- Nested Checkboxes
- File upload support including progress indication
- Image upload with image preview
- Dropzone with image preview (inspired by FilePond)
- Display validation error messages from error response
- Supports Tree Shaking (adds only used components to your js bundle)
Getting Started
npm install formvuelar --save
FormVuelar 2 targets Vue 3. Vue 2 projects should stay on the maintained 1.x release:
npm install [email protected] --save
Import components and the bundled styles:
import { FvlForm, FvlInput, FvlSubmit } from 'formvuelar'
import 'formvuelar/style.css'
All primary control values use Vue 3's default v-model:
<fvl-form :data="form" url="/users">
<fvl-input v-model="form.name" name="name" label="Name" />
<fvl-submit>Save</fvl-submit>
</fvl-form>
See the Vue 3 migration guide for the complete binding map.
Credits
License
Released under the MIT License.
관련 프로젝트 살펴보기
불러오는 중…