Use direct motion dependency in web ele
This commit is contained in:
@@ -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:",
|
||||
|
||||
@@ -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);
|
||||
|
||||
// 动态更新标题
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user