fix: init local persistence
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
||||
watch,
|
||||
defineComponent,
|
||||
} from "@nuxtjs/composition-api"
|
||||
import { setupLocalPersistence } from "~/newstore/localpersistence"
|
||||
import { useSetting } from "~/newstore/settings"
|
||||
|
||||
function updateThemes() {
|
||||
@@ -40,5 +41,8 @@ export default defineComponent({
|
||||
setup() {
|
||||
updateThemes()
|
||||
},
|
||||
beforeMount() {
|
||||
setupLocalPersistence()
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user