How to use fusion-plugin-i18n-react - 1 common examples

To help you get started, we’ve selected a few fusion-plugin-i18n-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fusionjs / fusion-cli / test / e2e / split-translations / fixture / src / main.js View on Github external
export default async function start() {
  const app = new App();
  app.register(Router);
  app.register(UniversalEventsToken, UniversalEvents);
  __BROWSER__ && app.register(FetchToken, window.fetch);
  app.register(I18nToken, I18n);
  __NODE__ && app.register(I18nLoaderToken, createI18nLoader());
  return app;
}

fusion-plugin-i18n-react

Adds I18n (Internationalization) support to a FusionJS app

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis

Popular fusion-plugin-i18n-react functions