diff --git a/resources/js/app.js b/resources/js/app.js
index 7c7a51a2..3ddc3808 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -9,6 +9,8 @@ import FTextarea from './components/FTextarea.vue';
import VPages from './components/VPages.vue';
import VLabel from './components/VLabel.vue';
import VBool from './components/VBool.vue';
+import Box from './components/Box.vue';
+import Heading from './components/Heading.vue';
import AppLayout from './layouts/AppLayout.vue';
import VTooltip from 'v-tooltip';
import hasModule from './mixins/hasModule.js';
@@ -23,6 +25,8 @@ Vue.component('SvgSprite', SvgSprite);
Vue.component('VPages', VPages);
Vue.component('v-bool', VBool);
Vue.component('v-label', VLabel);
+Vue.component('box', Box);
+Vue.component('heading', Heading);
const el = document.getElementById('app');
diff --git a/resources/js/views/member/Box.vue b/resources/js/components/Box.vue
similarity index 84%
rename from resources/js/views/member/Box.vue
rename to resources/js/components/Box.vue
index 9344af08..00553965 100644
--- a/resources/js/views/member/Box.vue
+++ b/resources/js/components/Box.vue
@@ -7,7 +7,7 @@
{{ heading }}
-
+
@@ -29,9 +29,5 @@ export default {
},
},
},
-
- components: {
- heading: () => import('./Heading'),
- },
};
diff --git a/resources/js/components/FSwitch.vue b/resources/js/components/FSwitch.vue
index 6f3afd6b..1b967f6a 100644
--- a/resources/js/components/FSwitch.vue
+++ b/resources/js/components/FSwitch.vue
@@ -1,11 +1,11 @@
-