feat: add dashboard page

This commit is contained in:
vben
2024-06-23 23:18:55 +08:00
parent 199d5506ac
commit c58c0797ba
100 changed files with 1908 additions and 1081 deletions

View File

@@ -34,6 +34,6 @@
"@vben-core/toolkit": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^10.11.0",
"vue": "^3.4.30"
"vue": "^3.4.31"
}
}

View File

@@ -27,7 +27,7 @@ const defaultPreferences: Preferences = {
styleType: 'normal',
},
footer: {
enable: true,
enable: false,
fixed: true,
},
header: {

View File

@@ -36,7 +36,7 @@ describe('preferences', () => {
});
it('initPreferences should initialize preferences with overrides and namespace', async () => {
const overrides = { theme: { colorPrimary: 'hsl(211 91% 39%)' } };
const overrides = { theme: { colorPrimary: 'hsl(245 82% 67%)' } };
const namespace = 'testNamespace';
await preferenceManager.initPreferences({ namespace, overrides });

View File

@@ -42,7 +42,7 @@
"@vben-core/typings": "workspace:*",
"pinia": "2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.30",
"vue": "^3.4.31",
"vue-router": "^4.4.0"
}
}

View File

@@ -1,9 +1,9 @@
import type { TabItem } from '@vben-core/typings';
import type { RouteRecordNormalized, Router } from 'vue-router';
import { toRaw } from 'vue';
import { startProgress, stopProgress } from '@vben-core/toolkit';
import { TabItem } from '@vben-core/typings';
import { acceptHMRUpdate, defineStore } from 'pinia';