From 50593f3edf7a86688bc2b1ba0a57c1589db21980 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 26 Nov 2021 16:31:19 +0800 Subject: [PATCH 1/4] [wip] lazy load language file --- src/components/settings/Appearance.vue | 10 +-- src/i18n.js | 91 +++++++++++--------------- src/main.js | 2 + src/mixins/lang.js | 27 ++++++++ 4 files changed, 68 insertions(+), 62 deletions(-) create mode 100644 src/mixins/lang.js diff --git a/src/components/settings/Appearance.vue b/src/components/settings/Appearance.vue index e0a3d6430..63fbd40bc 100644 --- a/src/components/settings/Appearance.vue +++ b/src/components/settings/Appearance.vue @@ -4,7 +4,7 @@ -