chore(project): refactor types dir

This commit is contained in:
vben
2024-05-21 22:14:25 +08:00
parent c31d21be50
commit f6087ce4e8
37 changed files with 141 additions and 65 deletions

View File

@@ -26,7 +26,6 @@
"dependencies": {
"@vben-core/design": "workspace:*",
"@vben-core/design-tokens": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vben/common-ui": "workspace:*",
"@vben/constants": "workspace:*",
"@vben/hooks": "workspace:*",
@@ -35,6 +34,7 @@
"@vben/locales": "workspace:*",
"@vben/preference": "workspace:*",
"@vben/stores": "workspace:*",
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"ant-design-vue": "^4.2.1",
"axios": "^1.7.1",

View File

@@ -1,4 +1,4 @@
import type { Preference } from '@vben-core/typings';
import type { Preference } from '@vben/types';
/**
* @description 项目配置文件

View File

@@ -1,4 +1,4 @@
import type { ExRouteRecordRaw, MenuRecordRaw } from '@vben-core/typings';
import type { ExRouteRecordRaw, MenuRecordRaw } from '@vben/types';
import type { RouteRecordRaw, Router } from 'vue-router';

View File

@@ -29,9 +29,11 @@ export const vbenRoutes: RouteRecordRaw[] = [
{
name: 'AboutDocument',
path: 'document',
component: () => import('@/views/about/index.vue'),
component: IFrameView,
meta: {
icon: 'mdi:flame-circle',
iframeSrc: 'https://doc.vvbin.cn/',
keepAlive: true,
title: $t('page.document'),
},
},

View File

@@ -1,4 +1,4 @@
import type { UserInfo } from '@vben-core/typings';
import type { UserInfo } from '@vben/types';
import { request } from '@/services/request';