File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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
125127 }
126128 },
127129 methods: {
128- ... mapActions ([ ' TOGGLE_DRAWER' ]),
130+ ... mapActions (
131+ ' layout' , [ ' TOGGLE_DRAWER' ]
132+ ),
129133 }
130134 }
131135 </script >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments