feat: rename logics to logic

This commit is contained in:
Anthony Fu committed 2021-03-31 13:59:01 +08:00
1 parent 433aabe44c
commit ff4fa578fc
8 files changed
+192 -126

No files matched your search

+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 '../../../../logics'
import { isDark } from '../../../../logic'
```
now, you can use
```ts
import { isDark } from '~/logics'
import { isDark } from '~/logic'
```