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

26 lines
612 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'
2020-02-27 16:27:14 +01:00
import FormSwitch from './FormSwitch'
import FormButtons from './FormButtons'
2020-02-28 14:47:55 +01:00
import Notification from './Notification'
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,
2020-02-27 16:27:14 +01:00
FormSwitch,
FormButtons,
2020-02-28 14:47:55 +01:00
Notification,
2020-02-12 21:18:40 +01:00
VueFooter,
].forEach(Component => {
2020-01-17 18:21:47 +01:00
Vue.component(Component.name, Component)
})