Update the layout to accommodate mobile
This commit is contained in:
5
app.vue
5
app.vue
@@ -4,10 +4,7 @@ const theme = ref('light')
|
|||||||
const toggleTheme = () => {
|
const toggleTheme = () => {
|
||||||
theme.value = theme.value === 'light' ? 'dark' : 'light'
|
theme.value = theme.value === 'light' ? 'dark' : 'light'
|
||||||
}
|
}
|
||||||
const drawer = ref(false)
|
const drawer = ref(null)
|
||||||
const showAppBar = computed(() => {
|
|
||||||
return !drawer.value
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
Reference in New Issue
Block a user