Add Form component

This commit is contained in:
Bubka
2020-01-17 18:21:47 +01:00
parent a68a9b8f39
commit d8bb41a04a
8 changed files with 498 additions and 2 deletions

View File

@ -1,9 +1,13 @@
import Vue from 'vue'
import Button from './Button'
import { FormError, FormErrors, FieldError } from './form'
// Components that are registered globaly.
[
Button,
Button,
FormError,
FormErrors,
FieldError
].forEach(Component => {
Vue.component(Component.name, Component)
Vue.component(Component.name, Component)
})