Fix some bugs

This commit is contained in:
2020-06-08 03:19:36 +02:00
parent f01da05d9d
commit 6787b446c3
12 changed files with 11268 additions and 62 deletions
-7
View File
@@ -1,7 +0,0 @@
export default function ({ $axios }) {
$axios.onRequest((config) => {
console.log('Making request to ' + config.url)
})
$axios.setBaseURL(process.env.API_URL)
}
+4
View File
@@ -0,0 +1,4 @@
export default function ({ $vuetify }) {
const theme = localStorage.getItem('theme') ?? 'light'
$vuetify.theme.dark = theme === 'dark'
}