feat: 使用vite-tsconfig-paths插件

This commit is contained in:
2025-09-19 10:04:13 +08:00
parent 668e851e9b
commit 3469baf469
4 changed files with 45 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import HomeView from '@/views/HomeView.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),