@atlantis-lab/next-app-with-intl

yarn add @atlantis-lab/next-app-with-intl

Usage no npm install needed!

<script type="module">
  import atlantisLabNextAppWithIntl from 'https://cdn.skypack.dev/@atlantis-lab/next-app-with-intl';
</script>

README

Next App With Intl

Install

yarn add @atlantis-lab/next-app-with-intl

Example usage

import App          from 'next/app'
import compose      from 'recompose/compose'
import { withIntl } from '@atlantis-lab/next-app-with-intl'
export const withProviders = compose(withIntl({ default: 'ru' }))
export default withProviders(App)