File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ const fs = require('fs');
44module . exports = ( api , options ) => {
55 api . extendPackage ( {
66 dependencies : {
7- 'axios' : '^0.18.0 ' ,
8- " dayjs" : " ^1.8.19" ,
7+ 'axios' : '^0.19.2 ' ,
8+ ' dayjs' : ' ^1.8.19' ,
99 'vuex' : '^3.1.2' ,
1010 'vuex-persistedstate' : '^2.5.4' ,
1111 'lodash.clonedeep' : '^4.5.0' ,
1212 'css-vars-ponyfill' : '^2.1.2' ,
13+ 'vue-router' : '3.3.4' ,
1314 } ,
1415 } ) ;
1516 if ( options . plugins . includes ( 'fontawesomepro' ) ) {
Original file line number Diff line number Diff line change 1313 </v-btn >
1414 </template >
1515 <v-list >
16- <v-list-item :to =" {name:'profile'}" >
17- <v-list-item-title >Profiel</v-list-item-title >
18- </v-list-item >
1916 <v-list-item @click =" logout" >
2017 <v-list-item-title >Uitloggen</v-list-item-title >
2118 </v-list-item >
2623<script >
2724
2825 export default {
29- components: {},
30- watch: {},
31- props: [],
32- name: ' profile-menu' ,
33- data () {
34- return {};
35- },
36- created () {
37-
38- },
26+ name: ' AppBarMenu' ,
3927 methods: {
4028 logout () {
4129 this .$store .dispatch (' Authorisation/unauthorized' );
4230 }
4331 },
4432 };
45- </script >
46-
47- <style scoped lang="scss">
48-
49- </style >
33+ </script >
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Vuetify from 'vuetify/lib';
44import '@fortawesome/fontawesome-pro/css/all.css' ;
55< % _ } _ % >
66import nl from 'vuetify/es5/locale/nl' ;
7+ import '@kingscode/vuetify-resource/dist/vuetify-resource.css' ;
78
89Vue . use ( Vuetify ) ;
910export default new Vuetify ( {
Original file line number Diff line number Diff line change 1515 <v-app-bar-nav-icon @click.stop =" menu = !menu" ></v-app-bar-nav-icon >
1616 <v-toolbar-title >Beheer</v-toolbar-title >
1717 <v-spacer />
18- <profile-menu ></ profile-menu >
18+ <AppBarMenu / >
1919 </v-app-bar >
2020 <v-main >
2121 <router-view />
2727</template >
2828
2929<script >
30- import ProfileMenu from ' ./.. /components/ProfileMenu .vue' ;
30+ import AppBarMenu from ' .. /components/AppBarMenu .vue' ;
3131import MainMenu from ' ./../components/MainMenu.vue' ;
3232
3333export default {
3434 name: ' template-default' ,
35- components: {ProfileMenu , MainMenu},
35+ components: {AppBarMenu , MainMenu},
3636 data () {
3737 return {
3838 menu: true ,
You can’t perform that action at this time.
0 commit comments