refactor: rename logic to composables

This commit is contained in:
Anthony Fu committed 2021-11-02 10:12:01 +08:00
1 parent d23489d50c
commit c960566abf
4 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { isDark, toggleDark } from '~/logic'
import { isDark, toggleDark } from '~/composables'
</script>
<template>
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -10,11 +10,11 @@ Check out [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) f
For example, instead of having
```ts
import { isDark } from '../../../../logic'
import { isDark } from '../../../../composables'
```
now, you can use
```ts
import { isDark } from '~/logic'
import { isDark } from '~/composables'
```