web iframe结构实现

This commit is contained in:
2025-12-13 14:13:31 +08:00
parent e002f0d989
commit 1776aa2d1e
53 changed files with 3280 additions and 275 deletions

View File

@@ -7,7 +7,11 @@ import { fileURLToPath } from 'url'
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
export default defineConfig({
// Platform 是根路径应用
base: '/',
plugins: [
vue({
script: {
@@ -50,6 +54,7 @@ export default defineConfig({
port: 5001,
host: true,
cors: true,
open: '/', // 开发时自动打开到根路径
proxy: {
'/api': {
target: 'http://localhost:8180',