fix: 修复plugin-locale类型问题

This commit is contained in:
wanchun 2023-04-03 14:58:15 +08:00
parent 31e954e322
commit b885fafae6
3 changed files with 3224 additions and 4324 deletions

View File

@ -12,7 +12,7 @@
"dev": "node scripts/build.mjs --watch",
"build": "node scripts/build.mjs",
"release": "node scripts/release.mjs",
"clean": "rm pnpm-lock.yaml & rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",
"clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",
"docs:dev": "vuepress dev docs --clean-cache",
"docs:build": "vuepress build docs --clean-cache",
"test": "fes test",

View File

@ -1,4 +1,4 @@
import '@fesjs/fes';
export { useI18n } from 'vue-i18n'
export const locale: {
setLocale({ locale }: { locale: string }): void;
@ -6,6 +6,7 @@ export const locale: {
getAllLocales(): string[];
messages: Record<string, object>;
};
declare module '@fesjs/fes' {
interface PluginBuildConfig {
locale?:

7543
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff