fix: remove redundant aliases

This commit is contained in:
Viet An
2026-06-06 16:26:26 +07:00
parent ce2e341401
commit de78da2d47
84 changed files with 237 additions and 233 deletions

View File

@@ -42,7 +42,7 @@
<script setup>
import { ref, computed, defineAsyncComponent, watch } from "vue";
import { useStore } from "@/stores/index";
import { useStore } from "~/stores/index";
import { useNuxtApp } from "#app";
const props = defineProps({
@@ -69,7 +69,7 @@ const tabsArray = computed(() => {
return [];
});
const modules = import.meta.glob("@/components/**/*.vue");
const modules = import.meta.glob("~/components/**/*.vue");
function getComponent(path) {
if (!path || typeof path !== "string" || !path.includes("/")) return null;
const moduleKey = Object.keys(modules).find((key) => key.endsWith(`${path}.vue`));