init: basic structure
This commit is contained in:
3
src/composables/dark.ts
Normal file
3
src/composables/dark.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// these APIs are auto-imported from @vueuse/core
|
||||
export const isDark = useDark()
|
||||
export const toggleDark = useToggle(isDark)
|
||||
1
src/composables/index.ts
Normal file
1
src/composables/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './dark'
|
||||
Reference in New Issue
Block a user