Skip to content

Commit a80c816

Browse files
committed
ref: components structure
1 parent 928f862 commit a80c816

9 files changed

Lines changed: 13 additions & 13 deletions

File tree

client/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
import { mapGetters, mapActions } from 'vuex';
1111
1212
import LayoutHeader from './components/layout/layout_header/layout_header';
13-
import Timetracker from './components/timetracker/timetracker';
14-
import Modals from './components/modals/modals';
13+
import Modals from './components/layout/modals/modals';
14+
import Timetracker from './pages/timetracker';
1515
1616
export default {
1717
components: { LayoutHeader, Timetracker, Modals },

client/components/layout/layout_header/user/user_menu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template lang="html">
2-
<div class="buttons">
2+
<div class="buttons">
33
<div class="button"
44
@click="logout()"
55
> Выйти </div>

client/components/layout/layout_header/user/user_stub.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script>
88
import { mapGetters } from 'vuex';
99
10-
import Loader from '../../../loader';
10+
import Loader from '../../../shared/loader';
1111
1212
export default {
1313
components: {
File renamed without changes.

client/components/modals/modals_signin.vue renamed to client/components/layout/modals/modals_signin.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<script>
2727
import { mapGetters, mapActions } from 'vuex';
2828
29-
import Loader from '../loader';
29+
import Loader from '../../shared/loader';
3030
3131
export default {
3232
components: {

client/components/modals/modals_signup.vue renamed to client/components/layout/modals/modals_signup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<script>
3535
import { mapGetters, mapActions } from 'vuex';
3636
37-
import Loader from '../loader';
37+
import Loader from '../../shared/loader';
3838
3939
export default {
4040
components: {

client/components/layout/yield.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template>
2+
<div>
3+
<router-view />
4+
</div>
5+
</template>
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
33
</template>
44

5-
<script>
6-
export default {
7-
}
8-
</script>
9-
105
<style lang="css" scoped>
116
.lds-ellipsis {
127
display: inline-block;

client/components/timetracker/timetracker.vue renamed to client/pages/timetracker.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
1919
import { mapGetters } from 'vuex';
2020
21-
import Tasks from './tasks/tasks';
22-
import Report from './report/report';
21+
import Tasks from '../components/timetracker/tasks/tasks';
22+
import Report from '../components/timetracker/report/report';
2323
2424
export default {
2525
components: {

0 commit comments

Comments
 (0)