Move component subfolders
This commit is contained in:
parent
f30eec0e80
commit
d01322b1ad
|
@ -8,9 +8,9 @@ import VLabel from './components/VLabel.vue';
|
||||||
import VBool from './components/VBool.vue';
|
import VBool from './components/VBool.vue';
|
||||||
import Box from './components/Box.vue';
|
import Box from './components/Box.vue';
|
||||||
import Heading from './components/Heading.vue';
|
import Heading from './components/Heading.vue';
|
||||||
import IconButton from './components/Ui/IconButton.vue';
|
import IconButton from './components/ui/IconButton.vue';
|
||||||
import ToolbarButton from './components/Ui/ToolbarButton.vue';
|
import ToolbarButton from './components/ui/ToolbarButton.vue';
|
||||||
import PageLayout from './components/Page/Layout.vue';
|
import PageLayout from './components/page/Layout.vue';
|
||||||
import AppLayout from './layouts/AppLayout.vue';
|
import AppLayout from './layouts/AppLayout.vue';
|
||||||
import VTooltip from 'v-tooltip';
|
import VTooltip from 'v-tooltip';
|
||||||
import hasModule from './mixins/hasModule.js';
|
import hasModule from './mixins/hasModule.js';
|
||||||
|
@ -28,7 +28,6 @@ Vue.use(Toasted);
|
||||||
Vue.use(VueAxios, axios);
|
Vue.use(VueAxios, axios);
|
||||||
Vue.use(PiniaVuePlugin);
|
Vue.use(PiniaVuePlugin);
|
||||||
Vue.component('f-text', () => import(/* webpackChunkName: "form" */ './components/FText'));
|
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-select', () => import(/* webpackChunkName: "form" */ './components/FSelect'));
|
||||||
Vue.component('f-textarea', () => import(/* webpackChunkName: "form" */ './components/FTextarea'));
|
Vue.component('f-textarea', () => import(/* webpackChunkName: "form" */ './components/FTextarea'));
|
||||||
Vue.component('SvgSprite', SvgSprite);
|
Vue.component('SvgSprite', SvgSprite);
|
||||||
|
@ -43,11 +42,14 @@ Vue.component('page-layout', PageLayout);
|
||||||
Vue.component('save-button', () => import(/* webpackChunkName: "form" */ './components/SaveButton'));
|
Vue.component('save-button', () => import(/* webpackChunkName: "form" */ './components/SaveButton'));
|
||||||
|
|
||||||
// ------------------------------ Full components ------------------------------
|
// ------------------------------ 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 -------------------------------
|
// ------------------------------- UI Components -------------------------------
|
||||||
Vue.component('ui-button', () => import(/* webpackChunkName: "ui" */ './components/Ui/Button.vue'));
|
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-spinner', () => import(/* webpackChunkName: "ui" */ './components/ui/Spinner.vue'));
|
||||||
|
|
||||||
|
// ------------------------------ Form components ------------------------------
|
||||||
|
Vue.component('f-switch', () => import(/* webpackChunkName: "form" */ './components/form/Switch.vue'));
|
||||||
|
|
||||||
// ----------------------------------- init ------------------------------------
|
// ----------------------------------- init ------------------------------------
|
||||||
const el = document.getElementById('app');
|
const el = document.getElementById('app');
|
||||||
|
|
|
@ -54,9 +54,9 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
'checkboxes-label': () => import('../../components/Form/CheckboxesLabel'),
|
'checkboxes-label': () => import('../../components/form/CheckboxesLabel'),
|
||||||
'subactivity-form': () => import('./SubactivityForm.vue'),
|
'subactivity-form': () => import('./SubactivityForm.vue'),
|
||||||
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
|
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -59,7 +59,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
popup: () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
|
popup: () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
|
||||||
},
|
},
|
||||||
|
|
||||||
mixins: [indexHelpers],
|
mixins: [indexHelpers],
|
||||||
|
|
|
@ -156,7 +156,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
popup: () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
|
popup: () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
|
||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -156,8 +156,8 @@ export default {
|
||||||
'age-groups': () => import(/* webpackChunkName: "member" */ './AgeGroups'),
|
'age-groups': () => import(/* webpackChunkName: "member" */ './AgeGroups'),
|
||||||
'tags': () => import(/* webpackChunkName: "member" */ './Tags'),
|
'tags': () => import(/* webpackChunkName: "member" */ './Tags'),
|
||||||
'actions': () => import(/* webpackChunkName: "member" */ './index/Actions'),
|
'actions': () => import(/* webpackChunkName: "member" */ './index/Actions'),
|
||||||
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Popup.vue'),
|
'popup': () => import(/* webpackChunkName: "ui" */ '../../components/ui/Popup.vue'),
|
||||||
'note': () => import(/* webpackChunkName: "ui" */ '../../components/Ui/Note.vue'),
|
'note': () => import(/* webpackChunkName: "ui" */ '../../components/ui/Note.vue'),
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue