perf: Use Imports Instead of Aliases

This commit is contained in:
vben
2024-06-16 23:40:52 +08:00
parent 07d1f85ff7
commit 6ffec31ce8
19 changed files with 41 additions and 140 deletions

View File

@@ -1,6 +1,6 @@
import type { RouteRecordRaw } from 'vue-router';
import { BasicLayout } from '@/layouts';
import { BasicLayout } from '#/layouts';
const routes: RouteRecordRaw[] = [
{
@@ -17,7 +17,7 @@ const routes: RouteRecordRaw[] = [
{
name: 'Welcome',
path: '/welcome',
component: () => import('@/views/dashboard/index.vue'),
component: () => import('#/views/dashboard/index.vue'),
meta: {
affixTab: true,
title: 'Welcome',