Fix some bugs
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
export default function ({ $axios }) {
|
||||
$axios.onRequest((config) => {
|
||||
console.log('Making request to ' + config.url)
|
||||
})
|
||||
|
||||
$axios.setBaseURL(process.env.API_URL)
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export default function ({ $vuetify }) {
|
||||
const theme = localStorage.getItem('theme') ?? 'light'
|
||||
$vuetify.theme.dark = theme === 'dark'
|
||||
}
|
||||
Reference in New Issue
Block a user