2FAuth/resources/js/components/index.js

22 lines
498 B
JavaScript
Raw Normal View History

import Vue from 'vue'
import Button from './Button'
import FieldError from './FieldError'
2020-01-28 15:33:33 +01:00
import FormWrapper from './FormWrapper'
import FormField from './FormField'
import FormSelect from './FormSelect'
import FormButtons from './FormButtons'
2020-02-12 21:18:40 +01:00
import VueFooter from './Footer'
// Components that are registered globaly.
[
2020-01-17 18:21:47 +01:00
Button,
FieldError,
2020-01-28 15:33:33 +01:00
FormWrapper,
FormField,
FormSelect,
FormButtons,
2020-02-12 21:18:40 +01:00
VueFooter,
].forEach(Component => {
2020-01-17 18:21:47 +01:00
Vue.component(Component.name, Component)
})