Move component subfolders

This commit is contained in:
Philipp Lang 2023-05-18 23:22:45 +02:00
parent f30eec0e80
commit d01322b1ad
15 changed files with 15 additions and 13 deletions

16
resources/js/app.js vendored
View File

@ -8,9 +8,9 @@ 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 IconButton from './components/Ui/IconButton.vue';
import ToolbarButton from './components/Ui/ToolbarButton.vue';
import PageLayout from './components/Page/Layout.vue';
import IconButton from './components/ui/IconButton.vue';
import ToolbarButton from './components/ui/ToolbarButton.vue';
import PageLayout from './components/page/Layout.vue';
import AppLayout from './layouts/AppLayout.vue';
import VTooltip from 'v-tooltip';
import hasModule from './mixins/hasModule.js';
@ -28,7 +28,6 @@ Vue.use(Toasted);
Vue.use(VueAxios, axios);
Vue.use(PiniaVuePlugin);
Vue.component('f-text', () => import(/* webpackChunkName: "form" */ './components/FText'));
Vue.component('f-switch', () => import(/* webpackChunkName: "form" */ './components/FSwitch'));
Vue.component('f-select', () => import(/* webpackChunkName: "form" */ './components/FSelect'));
Vue.component('f-textarea', () => import(/* webpackChunkName: "form" */ './components/FTextarea'));
Vue.component('SvgSprite', SvgSprite);
@ -43,11 +42,14 @@ Vue.component('page-layout', PageLayout);
Vue.component('save-button', () => import(/* webpackChunkName: "form" */ './components/SaveButton'));
// ------------------------------ Full components ------------------------------
Vue.component('full-page-heading', () => import(/* webpackChunkName: "full" */ './components/Full/PageHeading.vue'));
Vue.component('full-page-heading', () => import(/* webpackChunkName: "full" */ './components/full/PageHeading.vue'));
// ------------------------------- UI Components -------------------------------
Vue.component('ui-button', () => import(/* webpackChunkName: "ui" */ './components/Ui/Button.vue'));
Vue.component('ui-spinner', () => import(/* webpackChunkName: "ui" */ './components/Ui/Spinner.vue'));
Vue.component('ui-button', () => import(/* webpackChunkName: "ui" */ './components/ui/Button.vue'));
Vue.component('ui-spinner', () => import(/* webpackChunkName: "ui" */ './components/ui/Spinner.vue'));
// ------------------------------ Form components ------------------------------
Vue.component('f-switch', () => import(/* webpackChunkName: "form" */ './components/form/Switch.vue'));
// ----------------------------------- init ------------------------------------
const el = document.getElementById('app');

View File

@ -54,9 +54,9 @@ export default {
},
components: {
'checkboxes-label': () => import('../../components/Form/CheckboxesLabel'),
'checkboxes-label': () => import('../../components/form/CheckboxesLabel'),
'subactivity-form': () => import('./SubactivityForm.vue'),
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
},
methods: {

View File

@ -59,7 +59,7 @@ export default {
},
components: {
popup: () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
popup: () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
},
mixins: [indexHelpers],

View File

@ -156,7 +156,7 @@ export default {
},
components: {
popup: () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
popup: () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
},
computed: {

View File

@ -156,8 +156,8 @@ export default {
'age-groups': () => import(/* webpackChunkName: "member" */ './AgeGroups'),
'tags': () => import(/* webpackChunkName: "member" */ './Tags'),
'actions': () => import(/* webpackChunkName: "member" */ './index/Actions'),
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
'note': () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Note.vue'),
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
'note': () => import(/* webpackChunkName: "ui" */ '../../components/ui/Note.vue'),
},
methods: {