Use direct motion dependency in web ele

This commit is contained in:
2026-06-09 10:05:58 +08:00
parent b0057ed5a8
commit cb9a2ee1a2
4 changed files with 24 additions and 32 deletions
+1 -1
View File
@@ -51,7 +51,6 @@
"@vben/icons": "workspace:*",
"@vben/layouts": "workspace:*",
"@vben/locales": "workspace:*",
"@vben/plugins": "workspace:*",
"@vben/preferences": "workspace:*",
"@vben/request": "workspace:*",
"@vben/stores": "workspace:*",
@@ -63,6 +62,7 @@
"@vue-flow/core": "^1.48.0",
"@vue-flow/minimap": "^1.5.4",
"@vueuse/core": "catalog:",
"@vueuse/motion": "catalog:",
"codemirror": "^6.0.2",
"cron-parser": "^4.9.0",
"dayjs": "catalog:",
+1 -1
View File
@@ -140,7 +140,7 @@ async function bootstrap(namespace: string) {
app.use(router);
// 配置Motion插件
const { MotionPlugin } = await import('@vben/plugins/motion');
const { MotionPlugin } = await import('@vueuse/motion');
app.use(MotionPlugin);
// 动态更新标题
-8
View File
@@ -127,14 +127,6 @@ export default defineConfig(async () => {
'../../packages/effects/layouts/src/widgets/preferences/blocks/index.ts',
),
exactAlias('@vben/locales', '../../packages/locales/src/index.ts'),
exactAlias(
'@vben/plugins/echarts',
'../../packages/effects/plugins/src/echarts/index.ts',
),
exactAlias(
'@vben/plugins/motion',
'../../packages/effects/plugins/src/motion/index.ts',
),
exactAlias(
'@vben/preferences',
'../../packages/preferences/src/index.ts',