feat: Feature/pro docs (#70)

* chore: merge main

* feat: update docs

* feat: remove coze-assistant

* feat: add watermark plugin

* feat: update preferences

* feat: update docs

---------

Co-authored-by: vince <vince292007@gmail.com>
This commit is contained in:
Vben
2024-07-28 14:29:05 +08:00
committed by GitHub
parent 14538f7ed5
commit 376fd17a61
225 changed files with 7731 additions and 1784 deletions

View File

@@ -1,7 +1,6 @@
import type { SupportedLanguagesType } from '@vben-core/typings';
import type { Locale } from 'vue-i18n';
import type { ImportLocaleFn } from './typing';
import type { ImportLocaleFn, SupportedLanguagesType } from './typing';
import { unref } from 'vue';
import { createI18n } from 'vue-i18n';
@@ -15,10 +14,7 @@ const i18n = createI18n({
messages: {},
});
const modules = {
'./langs/en-US.json': async () => import('./langs/en-US.json'),
'./langs/zh-CN.json': async () => import('./langs/zh-CN.json'),
};
const modules = import.meta.glob('./langs/*.json');
const localesMap = loadLocalesMap(modules);