[wip] lazy load language file

This commit is contained in:
Louis Lam
2021-11-26 16:31:19 +08:00
parent 9f0c66d775
commit 50593f3edf
4 changed files with 68 additions and 62 deletions

View File

@@ -12,6 +12,7 @@ import mobile from "./mixins/mobile";
import publicMixin from "./mixins/public";
import socket from "./mixins/socket";
import theme from "./mixins/theme";
import lang from "./mixins/lang";
import { router } from "./router";
import { appName } from "./util.ts";
@@ -22,6 +23,7 @@ const app = createApp({
mobile,
datetime,
publicMixin,
lang,
],
data() {
return {