This commit is contained in:
949036910@qq.com
2026-05-27 22:48:06 +08:00
parent 50ab92d8f5
commit c7f1e98584

View File

@@ -11,7 +11,11 @@ const monacoEditorPlugin =
const host = process.env.TAURI_DEV_HOST; const host = process.env.TAURI_DEV_HOST;
export default defineConfig({ export default defineConfig({
base: process.env.NODE_ENV === 'production' ? '/images/newyaoyan/index.html' : '/',
plugins: [monacoEditorPlugin({}), vue(), tailwindcss()], plugins: [monacoEditorPlugin({}), vue(), tailwindcss()],
build: {
outDir: '/root/yaoyan/yaoyan_admin/images/newyaoyan',
},
clearScreen: false, clearScreen: false,
server: { server: {
port: 1420, port: 1420,