From 00db10e42698d6a35478e619371c8c0041847dd0 Mon Sep 17 00:00:00 2001
From: 黄何裕 <1053952480@qq.com>
Date: 星期二, 16 七月 2024 09:10:08 +0800
Subject: [PATCH] 修改无头像报错BUG
---
vite.config.js | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index 84001a6..6bccd72 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,6 +1,5 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
-import electron from 'vite-plugin-electron';
import { resolve } from 'path';
import AutoImport from 'unplugin-auto-import/vite';
import Components from 'unplugin-vue-components/vite';
@@ -11,10 +10,6 @@
export default defineConfig({
plugins: [
vue(),
- electron({
- // 涓昏繘绋嬪叆鍙f枃浠�
- entry: './src/background.js'
- }),
AutoImport({
resolvers: [ElementPlusResolver()],
}),
@@ -40,7 +35,7 @@
}
}
},
-
+
resolve: {
alias: {
'@': resolve(__dirname, './src')
--
Gitblit v1.8.0