1 Star 7 Fork 1

chi-congmin / 优购商城-web端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vite.config.ts 334 Bytes
一键复制 编辑 原始数据 按行查看 历史
chi-congmin 提交于 2023-10-12 21:00 . 修改部分代码
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
function _resolve(dir: string): string {
return path.resolve(__dirname, dir)
}
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': _resolve('src'),
}
},
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/chi-congmin/yougou-mall-web.git
git@gitee.com:chi-congmin/yougou-mall-web.git
chi-congmin
yougou-mall-web
优购商城-web端
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891