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

36 lines
982 B
JavaScript
Raw Normal View History

2020-10-22 17:05:55 +02:00
import Vue from 'vue'
import App from './App'
import Button from './Button'
import FieldError from './FieldError'
import FormWrapper from './FormWrapper'
import FormField from './FormField'
import FormPasswordField from './FormPasswordField'
2020-10-22 17:05:55 +02:00
import FormSelect from './FormSelect'
import FormSwitch from './FormSwitch'
2020-11-09 01:24:19 +01:00
import FormToggle from './FormToggle'
2020-10-22 17:05:55 +02:00
import FormCheckbox from './FormCheckbox'
import FormButtons from './FormButtons'
import VueFooter from './Footer'
import Kicker from './Kicker'
import SettingTabs from './SettingTabs'
// Components that are registered globaly.
[
2020-10-08 15:38:36 +02:00
App,
2020-01-17 18:21:47 +01:00
Button,
FieldError,
2020-01-28 15:33:33 +01:00
FormWrapper,
FormField,
FormPasswordField,
FormSelect,
2020-02-27 16:27:14 +01:00
FormSwitch,
2020-11-09 01:24:19 +01:00
FormToggle,
FormCheckbox,
FormButtons,
2020-02-12 21:18:40 +01:00
VueFooter,
Kicker,
SettingTabs
].forEach(Component => {
2020-01-17 18:21:47 +01:00
Vue.component(Component.name, Component)
})