2020-01-15 21:04:30 +01:00
|
|
|
import Vue from 'vue'
|
|
|
|
import Button from './Button'
|
2020-01-20 17:16:08 +01:00
|
|
|
import FieldError from './FieldError'
|
2020-01-28 15:33:33 +01:00
|
|
|
import FormWrapper from './FormWrapper'
|
2020-02-13 12:55:00 +01:00
|
|
|
import FormField from './FormField'
|
2020-02-26 22:26:26 +01:00
|
|
|
import FormSelect from './FormSelect'
|
2020-02-27 16:27:14 +01:00
|
|
|
import FormSwitch from './FormSwitch'
|
2020-02-13 12:55:00 +01:00
|
|
|
import FormButtons from './FormButtons'
|
2020-02-12 21:18:40 +01:00
|
|
|
import VueFooter from './Footer'
|
2020-01-15 21:04:30 +01:00
|
|
|
|
|
|
|
// Components that are registered globaly.
|
|
|
|
[
|
2020-01-17 18:21:47 +01:00
|
|
|
Button,
|
2020-01-20 17:16:08 +01:00
|
|
|
FieldError,
|
2020-01-28 15:33:33 +01:00
|
|
|
FormWrapper,
|
2020-02-13 12:55:00 +01:00
|
|
|
FormField,
|
2020-02-26 22:26:26 +01:00
|
|
|
FormSelect,
|
2020-02-27 16:27:14 +01:00
|
|
|
FormSwitch,
|
2020-02-13 12:55:00 +01:00
|
|
|
FormButtons,
|
2020-02-12 21:18:40 +01:00
|
|
|
VueFooter,
|
2020-01-15 21:04:30 +01:00
|
|
|
].forEach(Component => {
|
2020-01-17 18:21:47 +01:00
|
|
|
Vue.component(Component.name, Component)
|
2020-01-15 21:04:30 +01:00
|
|
|
})
|