vue router implemented

This commit is contained in:
carodej
2020-04-07 14:48:29 +02:00
parent bde58fbf60
commit ae4353cc4b
21 changed files with 722 additions and 998 deletions

View File

@@ -26,7 +26,10 @@
},
methods: {
goHome() {
if (this.isSmallAppSize) events.$emit('show:sidebar')
if (this.isSmallAppSize) {
events.$emit('show:sidebar')
this.$router.push({name: 'Files'})
}
}
}
}