feat: add full text search
This commit is contained in:
@@ -6,14 +6,15 @@
|
||||
|
||||
<script>
|
||||
import { getCurrentInstance } from 'vue'
|
||||
import { getDarkMode } from '../../utils/localStorage'
|
||||
import { useState } from '~/store'
|
||||
|
||||
export default {
|
||||
name: 'ThemedLayout',
|
||||
setup() {
|
||||
const instance = getCurrentInstance()
|
||||
const state = useState()
|
||||
if (instance) {
|
||||
instance.proxy.$vuetify.theme.dark = getDarkMode()
|
||||
instance.proxy.$vuetify.theme.dark = state.darkMode
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user