Set Footer as a standalone component

This commit is contained in:
Bubka
2020-02-12 21:18:40 +01:00
parent 0610b21fba
commit 4a85c1fd92
3 changed files with 85 additions and 54 deletions

View File

@ -2,12 +2,14 @@ import Vue from 'vue'
import Button from './Button'
import FieldError from './FieldError'
import FormWrapper from './FormWrapper'
import VueFooter from './Footer'
// Components that are registered globaly.
[
Button,
FieldError,
FormWrapper,
VueFooter,
].forEach(Component => {
Vue.component(Component.name, Component)
})