refactor: rename logic to composables

This commit is contained in:
Anthony Fu committed 2021-11-02 09:13:28 +08:00
1 parent b9a1dd0772
commit 60a52456f1
4 files changed
+4 -5

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
// these APIs are auto-imported from @vueuse/core
export const isDark = useDark()
export const toggleDark = useToggle(isDark)
+1
View File
@@ -0,0 +1 @@
export * from './dark'