feat: 新增背景音乐功能

This commit is contained in:
Zhukj
2025-12-12 17:49:20 +08:00
parent 717d263850
commit bc8b63d231
8 changed files with 81 additions and 3 deletions

View File

@@ -1,7 +1,12 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path' // 新增引入path模块
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
resolve: { // 新增:配置路径别名
alias: {
'@': path.resolve(__dirname, 'src') // 让@代表项目根目录下的src文件夹
}
}
})