refactor(project): re-adjust the overall folder

This commit is contained in:
vince
2024-07-23 00:03:59 +08:00
parent a1a566cb2f
commit 14538f7ed5
281 changed files with 1365 additions and 1659 deletions

View File

@@ -1,4 +1,4 @@
import { preferencesManager } from '@vben-core/preferences';
import { initPreferences } from '@vben/preferences';
import { overridesPreferences } from './preferences';
@@ -12,7 +12,7 @@ async function initApplication() {
const namespace = `${import.meta.env.VITE_APP_NAMESPACE}-${env}`;
// app偏好设置初始化
await preferencesManager.initPreferences({
await initPreferences({
namespace,
overrides: overridesPreferences,
});