redux-cube-with-i18next

1.2.0 • Public • Published

redux-cube-with-i18next

< Back to Project WebCube

NPM Version

Nodei

redux-cube's pluggable module for react-i18next

npm install --save redux-cube-with-i18next

Get Started

With webcube:

import React from 'react';
import withI18next from 'redux-cube-with-i18next';
import i18nResources from 'config/locales';
import cube from './cube';
 
function App() {
  return (
      <div/>
  );
}
 
export default App
  |> cube.createApp({
    plugins: [withI18next],
    i18nextConfig: {
      resources: i18nResources,
    },
  });

Without webcube:

WIP

/redux-cube-with-i18next/

    Package Sidebar

    Install

    npm i redux-cube-with-i18next

    Weekly Downloads

    3

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    11.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • dexteryy