From 0fce3ef92936ea8d50a74e21f3c58c469fb1bddb Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期三, 03 七月 2024 11:58:18 +0800 Subject: [PATCH] feat:pdf查看器 --- vite.config.js | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/vite.config.js b/vite.config.js index 5686722..3de0950 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()], }), @@ -34,8 +29,8 @@ port: 3000, proxy: { '/api': { - target: 'http://192.168.3.88:8000', - // target: 'http://192.168.3.64:8000', + // target: 'http://192.168.3.88:8000', + target: 'http://192.168.3.64:8000', changeOrigin: true, } } -- Gitblit v1.8.0