1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 06:45:12 +03:00

chore: ESM for localization

This commit is contained in:
Tomas Chmelevskij 2020-10-24 08:36:36 +02:00
parent 4fa1f6a4c0
commit 73172bdb04
10 changed files with 90 additions and 15 deletions

View file

@ -1,3 +1,9 @@
// This modules is imported and has side effect of attaching the
// `i18n` helper to window and setting up `i18next`
// in the future it should be pure. This means it should
// explicitly export things used by other parts of the app.
import '../js/localization.js';
import i18next from 'i18next';
import Vue from "vue";
import vueI18n from "./vueI18n.js";
import BatteryLegend from "./quad-status/BatteryLegend.vue";

View file

@ -1,5 +1,6 @@
import Vue from "vue";
import VueI18Next from "@panter/vue-i18next";
import i18next from 'i18next';
Vue.use(VueI18Next);