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

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

Usage no npm install needed!

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

README

Next App With Auth

Install

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

Example usage

import App          from 'next/app'
import compose      from 'recompose/compose'
import { withAuth } from '@atlantis-lab/next-app-with-auth'
export const withProviders = compose(withAuth())
export default withProviders(App)