befly-admin 3.4.23 → 3.4.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "befly-admin",
3
- "version": "3.4.23",
3
+ "version": "3.4.25",
4
4
  "description": "Befly Admin - 基于 Vue3 + OpenTiny Vue 的后台管理系统",
5
5
  "type": "module",
6
6
  "private": false,
@@ -36,7 +36,7 @@
36
36
  "vue-router": "^4.6.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@befly-addon/admin": "1.0.26",
39
+ "@befly-addon/admin": "1.0.28",
40
40
  "@iconify-json/lucide": "^1.2.72",
41
41
  "@opentiny/unplugin-tiny-vue": "^1.0.0",
42
42
  "@unocss/preset-attributify": "^66.5.6",
@@ -58,5 +58,5 @@
58
58
  "node": ">=24.0.0",
59
59
  "pnpm": ">=10.0.0"
60
60
  },
61
- "gitHead": "ca96814c3b67376809086cd8bef8e7816b736483"
61
+ "gitHead": "62797bf96f317ff0e666db73b4edac4435a6ed35"
62
62
  }
@@ -3,7 +3,7 @@ import { routes } from 'vue-router/auto-routes';
3
3
  import { $Storage } from '@/plugins/storage';
4
4
  import { Layouts } from '@befly-addon/admin/utils/layouts';
5
5
  import type { RouteRecordRaw } from 'vue-router';
6
- import type { LayoutConfig } from '@befly-addon/admin/utils/layouts';
6
+ import type { LayoutConfig } from '@befly-addon/admin/types/layout';
7
7
 
8
8
  /**
9
9
  * 将布局配置转换为实际的路由配置
@@ -17,6 +17,9 @@ declare module 'vue' {
17
17
  RouterLink: typeof import('vue-router')['RouterLink']
18
18
  RouterView: typeof import('vue-router')['RouterView']
19
19
  TinyButton: typeof import('@opentiny/vue-button')['default']
20
+ TinyCol: typeof import('@opentiny/vue-col')['default']
21
+ TinyDivider: typeof import('@opentiny/vue-divider')['default']
22
+ TinyRow: typeof import('@opentiny/vue-row')['default']
20
23
  TinyTag: typeof import('@opentiny/vue-tag')['default']
21
24
  TinyTreeMenu: typeof import('@opentiny/vue-tree-menu')['default']
22
25
  }
package/vite.config.ts CHANGED
@@ -101,14 +101,11 @@ export default defineConfig({
101
101
  sourcemap: false,
102
102
  minify: 'esbuild',
103
103
  rollupOptions: {
104
+ external: ['vue', 'vue-router', 'pinia', '@opentiny/vue', 'axios', 'vue-macros/macros'],
104
105
  output: {
105
106
  chunkFileNames: 'assets/[name]-[hash].js',
106
107
  entryFileNames: 'assets/[name]-[hash].js',
107
- assetFileNames: 'assets/[name]-[hash].[ext]',
108
- manualChunks: {
109
- vue: ['vue', 'vue-router', 'pinia'],
110
- opentiny: ['@opentiny/vue']
111
- }
108
+ assetFileNames: 'assets/[name]-[hash].[ext]'
112
109
  }
113
110
  }
114
111
  },