Farmbot-Web-App/frontend/entry.tsx

13 lines
368 B
TypeScript
Raw Permalink Normal View History

2019-09-19 13:15:35 -06:00
/// <reference path="./hacks.d.ts" />
2017-10-12 10:47:39 -06:00
/**
* THIS IS THE ENTRY POINT FOR THE MAIN PORTION OF THE WEB APP.
2017-10-12 12:47:29 -06:00
* Try to keep this file light. */
2017-06-29 12:54:02 -06:00
import { detectLanguage } from "./i18n";
2018-03-15 08:04:21 -06:00
import { stopIE } from "./util/stop_ie";
2017-10-12 12:47:29 -06:00
import { attachAppToDom } from "./routes";
2019-04-02 13:59:37 -06:00
import I from "i18next";
2017-06-29 12:54:02 -06:00
stopIE();
2017-08-09 10:13:04 -06:00
2019-04-02 13:59:37 -06:00
detectLanguage().then(config => I.init(config, attachAppToDom));