diff --git a/resources/js/components/FormWrapper.vue b/resources/js/components/FormWrapper.vue new file mode 100644 index 00000000..d662b0bf --- /dev/null +++ b/resources/js/components/FormWrapper.vue @@ -0,0 +1,47 @@ + + + \ No newline at end of file diff --git a/resources/js/components/index.js b/resources/js/components/index.js index edd00197..0500e283 100644 --- a/resources/js/components/index.js +++ b/resources/js/components/index.js @@ -1,11 +1,13 @@ import Vue from 'vue' import Button from './Button' import FieldError from './FieldError' +import FormWrapper from './FormWrapper' // Components that are registered globaly. [ Button, FieldError, + FormWrapper, ].forEach(Component => { Vue.component(Component.name, Component) }) diff --git a/resources/js/views/auth/Login.vue b/resources/js/views/auth/Login.vue index 9dcc5da4..47bfbb2b 100644 --- a/resources/js/views/auth/Login.vue +++ b/resources/js/views/auth/Login.vue @@ -1,51 +1,29 @@