1 Star 0 Fork 18

lyf/Vue3+Ts+Vite+pinia+ element plus+unocss

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts 363 Bytes
一键复制 编辑 原始数据 按行查看 历史
你的微笑暖暖的 提交于 2023-08-02 19:50 +08:00 . feat: 更新最新版本
import { defineConfig, loadEnv } from 'vite'
import alias from './vite/alias'
import setupVitePlugins from './vite/plugins'
// https://vitejs.dev/config/
export default defineConfig(({ command, mode }) => {
const env = loadEnv(mode, process.cwd())
return {
plugins: setupVitePlugins(env, command === 'build'),
resolve: {
alias,
},
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lyfxh/xt-admin-vue3.git
git@gitee.com:lyfxh/xt-admin-vue3.git
lyfxh
xt-admin-vue3
Vue3+Ts+Vite+pinia+ element plus+unocss
master

搜索帮助