Skip to content

Commit 45a7ffa

Browse files
committed
Fix sidebar in documentations;
Add descriptions about backend in documentations
1 parent 102a9ff commit 45a7ffa

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

src/pages/Documentation/components/Header/DocHeader.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,15 @@
7878
]
7979
}),
8080
computed: {
81-
...mapState(['drawer']),
81+
...mapState('layout', { drawer: state => state.drawer }),
8282
DRAWER_STATE :{
8383
get() {
8484
return this.drawer
8585
},
8686
}
8787
},
8888
methods: {
89-
...mapActions([ 'TOGGLE_DRAWER' ]),
90-
logOut: function () {
91-
window.localStorage.setItem('authenticated', false);
92-
this.$router.push('/login');
93-
}
89+
...mapActions('layout', [ 'TOGGLE_DRAWER']),
9490
}
9591
};
9692
</script>

src/pages/Documentation/components/Sidebar/DocSidebar.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@
113113
}
114114
},
115115
computed: {
116-
...mapState(['drawer']),
116+
...mapState( 'layout', {
117+
drawer: state => state.drawer
118+
} ),
117119
DRAWER_STATE: {
118120
get() {
119121
return this.drawer
@@ -125,7 +127,9 @@
125127
}
126128
},
127129
methods: {
128-
...mapActions([ 'TOGGLE_DRAWER' ]),
130+
...mapActions(
131+
'layout', [ 'TOGGLE_DRAWER' ]
132+
),
129133
}
130134
}
131135
</script>

src/pages/Documentation/pages/QuickStart/QuickStart.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@
99
<li>Mac OS X, Windows, or Linux</li>
1010
<li>Node.js v9 or newer</li>
1111
<li>Vue JS 2.6</li>
12+
<li>Running our <a href="https://github.com/flatlogic/user-management-template-backend">Node.js backend</a> (Required only in full stack version)</li>
1213
</ul>
1314
<p class="text-h5 mt-4">Quick Start:</p>
1415
<ul>
1516
<li>yarn install</li>
1617
<li>yarn serve</li>
18+
<li>For running the app with backend support please run yarn serve:backend (Required only in full stack version)</li>
1719
</ul>
1820
<p class="text-h5 mt-4">There are also other tasks:</p>
1921
<ul>
2022
<li>yarn build : if you need just to build the app</li>
2123
<li>yarn lint : to check the source code for syntax errors and potential issues</li>
2224
</ul>
2325
<br>
24-
<p>For more instruction please refer to Angular Material Admin Full readme.md.</p>
26+
<p>For more instruction please refer to Vue Material Admin Full readme.md</p>
2527
</v-card-text>
2628
</v-card>
2729
</v-col>

0 commit comments

Comments
 (0)