You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
462 B
JavaScript
22 lines
462 B
JavaScript
/*
|
|
* @Descripttion:
|
|
* @version: 1.0.0
|
|
* @Author: LyMy
|
|
* @Date: 2025-04-11 15:43:49
|
|
* @LastEditors: LyMy
|
|
* @LastEditTime: 2025-04-11 16:07:34
|
|
* @FilePath: \fish_game\vite.config.js
|
|
*/
|
|
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import path from 'path' // 需要导入 path 模块
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'src') // 加这行
|
|
}
|
|
}
|
|
})
|