chore: migrate to composition API and auth0-spa
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<div>
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getDarkMode } from '../../utils/localStorage'
|
||||
|
||||
export default {
|
||||
setup(props, context) {
|
||||
context.root.$vuetify.theme.dark = getDarkMode()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user