refactor: move component and routes to dashboard
This commit is contained in:
@@ -8,6 +8,9 @@ import helpcenterRoutes from './helpcenter/helpcenter.routes';
|
||||
|
||||
const AppContainer = () => import('./Dashboard.vue');
|
||||
const Suspended = () => import('./suspended/Index.vue');
|
||||
const SetupProfile = () => import('./start/SetupProfile.vue');
|
||||
const SetupCompany = () => import('./start/SetupCompany.vue');
|
||||
const FoundersNote = () => import('./start/FoundersNote.vue');
|
||||
|
||||
export default {
|
||||
routes: [
|
||||
@@ -29,5 +32,20 @@ export default {
|
||||
roles: ['administrator', 'agent'],
|
||||
component: Suspended,
|
||||
},
|
||||
{
|
||||
path: frontendURL('start/setup-profile'),
|
||||
name: 'onboarding_setup_profile',
|
||||
component: SetupProfile,
|
||||
},
|
||||
{
|
||||
path: frontendURL('start/setup-company'),
|
||||
name: 'onboarding_setup_company',
|
||||
component: SetupCompany,
|
||||
},
|
||||
{
|
||||
path: frontendURL('start/founders-note'),
|
||||
name: 'onboarding_founders_note',
|
||||
component: FoundersNote,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@
|
||||
<script>
|
||||
import ModalLayout from './components/ModalLayout.vue';
|
||||
import Thumbnail from '../../../../dashboard/components/widgets/Thumbnail.vue';
|
||||
import SubmitButton from '../../../components/Button/SubmitButton';
|
||||
import SubmitButton from '../../../components/buttons/FormSubmitButton.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
+3
-3
@@ -59,9 +59,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import FormInput from '../../../components/Form/Input.vue';
|
||||
import FormSelect from '../../../components/Form/Select.vue';
|
||||
import SubmitButton from '../../../components/Button/SubmitButton';
|
||||
import FormInput from '../../../components/form/Input.vue';
|
||||
import FormSelect from '../../../components/form/Select.vue';
|
||||
import SubmitButton from '../../../components/buttons/FormSubmitButton.vue';
|
||||
import ModalLayout from './components/ModalLayout.vue';
|
||||
import configMixin from 'shared/mixins/configMixin';
|
||||
|
||||
+3
-3
@@ -46,9 +46,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import FormInput from '../../../components/Form/Input.vue';
|
||||
import FormTextArea from '../../../components/Form/TextArea.vue';
|
||||
import SubmitButton from '../../../components/Button/SubmitButton';
|
||||
import FormInput from '../../../components/form/Input.vue';
|
||||
import FormTextArea from '../../../components/form/TextArea.vue';
|
||||
import SubmitButton from '../../../components/buttons/FormSubmitButton.vue';
|
||||
import ModalLayout from './components/ModalLayout.vue';
|
||||
|
||||
export default {
|
||||
@@ -5,9 +5,6 @@ const Signup = () => import('./auth/signup/Index.vue');
|
||||
const ResetPassword = () => import('./auth/reset/password/Index.vue');
|
||||
const Confirmation = () => import('./auth/confirmation/Index.vue');
|
||||
const PasswordEdit = () => import('./auth/password/Edit.vue');
|
||||
const SetupProfile = () => import('./auth/start/SetupProfile.vue');
|
||||
const SetupCompany = () => import('./auth/start/SetupCompany.vue');
|
||||
const FounderNote = () => import('./auth/start/FounderNote.vue');
|
||||
|
||||
export default [
|
||||
{
|
||||
@@ -56,19 +53,4 @@ export default [
|
||||
name: 'auth_reset_password',
|
||||
component: ResetPassword,
|
||||
},
|
||||
{
|
||||
path: frontendURL('start/setup-profile'),
|
||||
name: 'onboarding_setup_profile',
|
||||
component: SetupProfile,
|
||||
},
|
||||
{
|
||||
path: frontendURL('start/setup-company'),
|
||||
name: 'onboarding_setup_company',
|
||||
component: SetupCompany,
|
||||
},
|
||||
{
|
||||
path: frontendURL('start/founders-note'),
|
||||
name: 'onboarding_founders_note',
|
||||
component: FounderNote,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user