This commit is contained in:
2025-10-10 15:37:57 +08:00
parent a0d94b2c70
commit 4c2546733e
3 changed files with 3 additions and 5 deletions

View File

@@ -1,14 +1,12 @@
const Path = require('path');
const vuePlugin = require('@vitejs/plugin-vue')
const { defineConfig } = require('vite');
/**
* https://vitejs.dev/config
*/
const config = defineConfig({
root: Path.join(__dirname, 'src', 'renderer'),
publicDir: Path.join(__dirname, 'src', 'renderer', 'public'), // 使用renderer下的public目录
publicDir: Path.join(__dirname, 'src', 'renderer', 'public'),
server: {
port: 8083,
},