refactor(web): group shared components by directory

Move each shared component into a named directory with an index.vue entry. Update consumers and relative imports while preserving component behavior.
This commit is contained in:
eezd committed 2026-10-26 11:53:11 +08:00
1 parent 6ea46f99cf
commit cef0298c34
30 files changed
+42 -42

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
<script setup lang="ts">
import AppStatus from '@@/components/AppStatus.vue'
import AppStatus from '@@/components/AppStatus/index.vue'
import { toast } from '@@/utils/notifications'
import { isCancel } from 'axios'
import { computed, onBeforeUnmount, onMounted, ref } from 'vue'
import { useRouter } from 'vue-router'
import { ApiError } from '@/http/axios'
import { useUserStore } from '@/pinia/stores/user'
import Icon from '../../common/components/Icon.vue'
import Icon from '../../common/components/Icon/index.vue'
import { registerCommand } from '../../common/utils/commands'
import { noteTitle } from '../../common/utils/paths'
import { settings, SettingsAppearanceError, SIDEBAR_WIDTH, updateSettings } from '../../pinia/stores/settings'