chore: 整体优化

This commit is contained in:
wangxuefeng
2025-02-19 21:15:15 +08:00
parent 52a32bb31e
commit 19da7ce0dd
23 changed files with 22375 additions and 176 deletions

View File

@@ -31,6 +31,7 @@
"@vueuse/core": "~11.1.0",
"ant-design-vue": "~4.2.6",
"axios": "~1.7.9",
"core-js": "^3.40.0",
"crypto-js": "^4.2.0",
"dayjs": "~1.11.13",
"file-saver": "~2.0.5",
@@ -48,17 +49,17 @@
"vue-types": "~5.1.3",
"vue-virtual-scroller": "2.0.0-beta.8",
"wujie-vue3": "^1.0.24",
"xlsx": "~0.18.5",
"core-js": "^3.40.0"
"xlsx": "~0.18.5"
},
"devDependencies": {
"@sy/vite-plugin-http2-proxy": "workspace:*",
"@commitlint/cli": "~19.5.0",
"@commitlint/config-conventional": "~19.5.0",
"@iconify-json/ant-design": "^1.2.5",
"@iconify-json/ep": "^1.2.2",
"@iconify/json": "^2.2.307",
"@sy/low-code-designer": "workspace:*",
"@sy/low-code-shared": "workspace:*",
"@sy/vite-plugin-http2-proxy": "workspace:*",
"@types/crypto-js": "^4.2.2",
"@types/lodash-es": "~4.17.12",
"@types/node": "~22.7.9",
@@ -98,7 +99,7 @@
"typescript": "~5.6.3",
"unocss": "^65.5.0",
"unplugin-vue-components": "~0.27.5",
"vite": "~6.1.0",
"vite": "~6.1.1",
"vite-plugin-checker": "~0.8.0",
"vite-plugin-inspect": "^10.2.1",
"vite-plugin-mkcert": "^1.17.6",

View File

@@ -0,0 +1 @@
export * from '@sy/low-code-shared/constants';

View File

@@ -19,7 +19,7 @@ const routes: Array<RouteRecordRaw> = [
title: '低代码编辑器',
icon: 'ant-design:edit-outlined',
app: {
url: 'https://localhost:5173',
url: 'https://localhost:10011/__vtj__/',
name: 'low-code-designer',
sync: true,
alive: true,
@@ -34,10 +34,10 @@ const routes: Array<RouteRecordRaw> = [
meta: {
title: '低代码渲染器',
keepAlive: true,
hideInMenu: true,
// hideInMenu: true,
icon: 'ant-design:eye-outlined',
app: {
url: 'https://localhost:9000',
url: 'https://localhost:10010',
name: 'low-code-renderer',
// sync: true,
// alive: true,
@@ -46,6 +46,24 @@ const routes: Array<RouteRecordRaw> = [
},
component: () => import('@/components/micro-container/index.vue'),
},
{
path: 'y-code-v1',
name: `${moduleName}-y-code-v1`,
meta: {
title: '悦码 1.0',
// keepAlive: true,
// hideInMenu: true,
icon: 'ant-design:delete-outlined',
app: {
url: 'http://localhost:10012',
name: 'y-code-v1',
// sync: true,
// alive: true,
// degrade: true,
},
},
component: () => import('@/components/micro-container/index.vue'),
},
],
},
];

View File

@@ -13,6 +13,9 @@ import Http2Proxy from '@sy/vite-plugin-http2-proxy';
import Inspector from 'vite-plugin-vue-inspector';
import pkg from './package.json';
import type { UserConfig, ConfigEnv } from 'vite';
// import { DEV_SERVER_PORT } from '@sy/low-code-shared/dist/constants';
// console.log(DEV_SERVER_PORT);
const CWD = process.cwd();