Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f8136cfd
authored
Jan 09, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 微应用构建优化
1 parent
a189442d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
38 deletions
apps/frontend/venus-agentic/venus-agentic-assisant/vite.config.ts
apps/frontend/venus-agentic/venus-agentic-base/src/views/Login.vue
pnpm-lock.yaml
apps/frontend/venus-agentic/venus-agentic-assisant/vite.config.ts
View file @
f8136cf
...
@@ -43,6 +43,10 @@ export default defineConfig(({ mode, command }) => {
...
@@ -43,6 +43,10 @@ export default defineConfig(({ mode, command }) => {
'@'
:
resolve
(
__dirname
,
'src'
),
'@'
:
resolve
(
__dirname
,
'src'
),
'@public'
:
resolve
(
__dirname
,
'public'
),
'@public'
:
resolve
(
__dirname
,
'public'
),
},
},
conditions
:
[
'development'
,
'browser'
,
'import'
],
},
optimizeDeps
:
{
exclude
:
[
'jiti'
],
},
},
server
:
{
server
:
{
port
:
PORT
,
port
:
PORT
,
...
@@ -68,6 +72,8 @@ export default defineConfig(({ mode, command }) => {
...
@@ -68,6 +72,8 @@ export default defineConfig(({ mode, command }) => {
entryFileNames
:
'assets/[name].js'
,
entryFileNames
:
'assets/[name].js'
,
chunkFileNames
:
'assets/[name].[hash].js'
,
chunkFileNames
:
'assets/[name].[hash].js'
,
assetFileNames
:
'assets/[name].[hash].[ext]'
,
assetFileNames
:
'assets/[name].[hash].[ext]'
,
// 内联所有动态导入,解决顶层 await 问题
inlineDynamicImports
:
true
,
},
},
},
},
},
},
...
...
apps/frontend/venus-agentic/venus-agentic-base/src/views/Login.vue
View file @
f8136cf
...
@@ -249,7 +249,7 @@ onMounted(() => {
...
@@ -249,7 +249,7 @@ onMounted(() => {
<div
class=
"login-form-wrapper"
>
<div
class=
"login-form-wrapper"
>
<div
class=
"form-container"
>
<div
class=
"form-container"
>
<div
class=
"form-header"
>
<div
class=
"form-header"
>
<p
class=
"form-title"
>
汽车销售超级孪生智能体
-
</p>
<p
class=
"form-title"
>
汽车销售超级孪生智能体
</p>
</div>
</div>
<form
class=
"login-form"
@
submit
.
prevent=
"handleLogin"
>
<form
class=
"login-form"
@
submit
.
prevent=
"handleLogin"
>
...
...
pnpm-lock.yaml
View file @
f8136cf
...
@@ -342,9 +342,6 @@ catalogs:
...
@@ -342,9 +342,6 @@ catalogs:
unplugin-auto-import
:
unplugin-auto-import
:
specifier
:
^0.17.5
specifier
:
^0.17.5
version
:
0.17.8
version
:
0.17.8
unplugin-element-plus
:
specifier
:
^0.10.0
version
:
0.10.0
unplugin-vue-components
:
unplugin-vue-components
:
specifier
:
^0.26.0
specifier
:
^0.26.0
version
:
0.26.0
version
:
0.26.0
...
@@ -503,6 +500,52 @@ importers:
...
@@ -503,6 +500,52 @@ importers:
specifier
:
'
catalog:'
specifier
:
'
catalog:'
version
:
2.2.10(typescript@5.9.3)
version
:
2.2.10(typescript@5.9.3)
apps/frontend-micro/venus-agent-assisent
:
dependencies
:
'
@vueuse/core'
:
specifier
:
'
catalog:'
version
:
13.9.0(vue@3.5.24(typescript@5.9.3))
axios
:
specifier
:
'
catalog:'
version
:
1.13.2
pinia
:
specifier
:
^3.0.3
version
:
3.0.4(typescript@5.9.3)(vue@3.5.24(typescript@5.9.3))
vue
:
specifier
:
^3.5.17
version
:
3.5.24(typescript@5.9.3)
vue-router
:
specifier
:
'
catalog:'
version
:
4.6.3(vue@3.5.24(typescript@5.9.3))
devDependencies
:
'
@types/node'
:
specifier
:
^24.9.2
version
:
24.10.0
'
@vitejs/plugin-vue'
:
specifier
:
'
catalog:'
version
:
6.0.1(vite@7.2.2(@types/node@24.10.0)(jiti@2.6.1)(sass@1.94.0)(terser@5.44.1)(yaml@2.8.1))(vue@3.5.24(typescript@5.9.3))
'
@vitejs/plugin-vue-jsx'
:
specifier
:
'
catalog:'
version
:
5.1.1(vite@7.2.2(@types/node@24.10.0)(jiti@2.6.1)(sass@1.94.0)(terser@5.44.1)(yaml@2.8.1))(vue@3.5.24(typescript@5.9.3))
typescript
:
specifier
:
'
catalog:'
version
:
5.9.3
unplugin-auto-import
:
specifier
:
'
catalog:'
version
:
0.17.8(@vueuse/core@13.9.0(vue@3.5.24(typescript@5.9.3)))(rollup@4.53.2)
unplugin-vue-components
:
specifier
:
'
catalog:'
version
:
0.26.0(@babel/parser@7.28.5)(rollup@4.53.2)(vue@3.5.24(typescript@5.9.3))
vite
:
specifier
:
^7.1.2
version
:
7.2.2(@types/node@24.10.0)(jiti@2.6.1)(sass@1.94.0)(terser@5.44.1)(yaml@2.8.1)
vite-plugin-qiankun
:
specifier
:
'
catalog:'
version
:
1.0.15(typescript@5.9.3)(vite@7.2.2(@types/node@24.10.0)(jiti@2.6.1)(sass@1.94.0)(terser@5.44.1)(yaml@2.8.1))
vue-tsc
:
specifier
:
'
catalog:'
version
:
2.2.10(typescript@5.9.3)
apps/frontend-micro/venus-base
:
apps/frontend-micro/venus-base
:
dependencies
:
dependencies
:
'
@element-plus/icons-vue'
:
'
@element-plus/icons-vue'
:
...
@@ -688,9 +731,6 @@ importers:
...
@@ -688,9 +731,6 @@ importers:
unplugin-auto-import
:
unplugin-auto-import
:
specifier
:
'
catalog:'
specifier
:
'
catalog:'
version
:
0.17.8(@vueuse/core@13.9.0(vue@3.5.24(typescript@5.9.3)))(rollup@4.53.2)
version
:
0.17.8(@vueuse/core@13.9.0(vue@3.5.24(typescript@5.9.3)))(rollup@4.53.2)
unplugin-element-plus
:
specifier
:
'
catalog:'
version
:
0.10.0
unplugin-vue-components
:
unplugin-vue-components
:
specifier
:
'
catalog:'
specifier
:
'
catalog:'
version
:
0.26.0(@babel/parser@7.28.5)(rollup@4.53.2)(vue@3.5.24(typescript@5.9.3))
version
:
0.26.0(@babel/parser@7.28.5)(rollup@4.53.2)(vue@3.5.24(typescript@5.9.3))
...
@@ -1040,6 +1080,31 @@ importers:
...
@@ -1040,6 +1080,31 @@ importers:
specifier
:
'
*'
specifier
:
'
*'
version
:
5.9.3
version
:
5.9.3
packages/common-ui
:
dependencies
:
'
@element-plus/icons-vue'
:
specifier
:
'
catalog:'
version
:
2.3.2(vue@3.5.24(typescript@5.9.3))
'
@vueuse/core'
:
specifier
:
'
catalog:'
version
:
13.9.0(vue@3.5.24(typescript@5.9.3))
element-plus
:
specifier
:
'
catalog:'
version
:
2.11.9(vue@3.5.24(typescript@5.9.3))
vue
:
specifier
:
^3.5.17
version
:
3.5.24(typescript@5.9.3)
devDependencies
:
'
@types/node'
:
specifier
:
^24.9.2
version
:
24.10.0
typescript
:
specifier
:
'
catalog:'
version
:
5.9.3
unbuild
:
specifier
:
'
catalog:'
version
:
3.6.1(sass@1.94.0)(typescript@5.9.3)(vue-tsc@2.2.10(typescript@5.9.3))(vue@3.5.24(typescript@5.9.3))
packages/common-ui/vue-ui
:
packages/common-ui/vue-ui
:
dependencies
:
dependencies
:
'
@element-plus/icons-vue'
:
'
@element-plus/icons-vue'
:
...
@@ -1117,6 +1182,8 @@ importers:
...
@@ -1117,6 +1182,8 @@ importers:
specifier
:
'
catalog:'
specifier
:
'
catalog:'
version
:
4.6.3(vue@3.5.24(typescript@5.9.3))
version
:
4.6.3(vue@3.5.24(typescript@5.9.3))
packages/tools
:
{}
packages/types
:
packages/types
:
dependencies
:
dependencies
:
vue
:
vue
:
...
@@ -7446,14 +7513,6 @@ packages:
...
@@ -7446,14 +7513,6 @@ packages:
'
@vueuse/core'
:
'
@vueuse/core'
:
optional
:
true
optional
:
true
unplugin-element-plus@0.10.0
:
resolution
:
{
integrity
:
sha512-oRSW0x6U58xBOWKy8TcoVZNA8ElIpfp3TUJRLQI6ey/E9PpjHl9/deeTAZNt8D57Li4OA4pCJtM6p2cb4Ff4ZA==
}
engines
:
{
node
:
'
>=18.12.0'
}
unplugin-utils@0.2.5
:
resolution
:
{
integrity
:
sha512-gwXJnPRewT4rT7sBi/IvxKTjsms7jX7QIDLOClApuZwR49SXbrB1z2NLUZ+vDHyqCj/n58OzRRqaW+B8OZi8vg==
}
engines
:
{
node
:
'
>=18.12.0'
}
unplugin-vue-components@0.26.0
:
unplugin-vue-components@0.26.0
:
resolution
:
{
integrity
:
sha512-s7IdPDlnOvPamjunVxw8kNgKNK8A5KM1YpK5j/p97jEKTjlPNrA0nZBiSfAKKlK1gWZuyWXlKL5dk3EDw874LQ==
}
resolution
:
{
integrity
:
sha512-s7IdPDlnOvPamjunVxw8kNgKNK8A5KM1YpK5j/p97jEKTjlPNrA0nZBiSfAKKlK1gWZuyWXlKL5dk3EDw874LQ==
}
engines
:
{
node
:
'
>=14'
}
engines
:
{
node
:
'
>=14'
}
...
@@ -7471,10 +7530,6 @@ packages:
...
@@ -7471,10 +7530,6 @@ packages:
resolution
:
{
integrity
:
sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==
}
resolution
:
{
integrity
:
sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==
}
engines
:
{
node
:
'
>=14.0.0'
}
engines
:
{
node
:
'
>=14.0.0'
}
unplugin@2.3.11
:
resolution
:
{
integrity
:
sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==
}
engines
:
{
node
:
'
>=18.12.0'
}
unrs-resolver@1.11.1
:
unrs-resolver@1.11.1
:
resolution
:
{
integrity
:
sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==
}
resolution
:
{
integrity
:
sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==
}
...
@@ -14433,18 +14488,6 @@ snapshots:
...
@@ -14433,18 +14488,6 @@ snapshots:
transitivePeerDependencies
:
transitivePeerDependencies
:
-
rollup
-
rollup
unplugin-element-plus@0.10.0
:
dependencies
:
es-module-lexer
:
1.7.0
magic-string
:
0.30.21
unplugin
:
2.3.11
unplugin-utils
:
0.2.5
unplugin-utils@0.2.5
:
dependencies
:
pathe
:
2.0.3
picomatch
:
4.0.3
unplugin-vue-components@0.26.0(@babel/parser@7.28.5)(rollup@4.53.2)(vue@3.5.24(typescript@5.9.3))
:
unplugin-vue-components@0.26.0(@babel/parser@7.28.5)(rollup@4.53.2)(vue@3.5.24(typescript@5.9.3))
:
dependencies
:
dependencies
:
'
@antfu/utils'
:
0.7.10
'
@antfu/utils'
:
0.7.10
...
@@ -14469,13 +14512,6 @@ snapshots:
...
@@ -14469,13 +14512,6 @@ snapshots:
acorn
:
8.15.0
acorn
:
8.15.0
webpack-virtual-modules
:
0.6.2
webpack-virtual-modules
:
0.6.2
unplugin@2.3.11
:
dependencies
:
'
@jridgewell/remapping'
:
2.3.5
acorn
:
8.15.0
picomatch
:
4.0.3
webpack-virtual-modules
:
0.6.2
unrs-resolver@1.11.1
:
unrs-resolver@1.11.1
:
dependencies
:
dependencies
:
napi-postinstall
:
0.3.4
napi-postinstall
:
0.3.4
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment