react-netlify-identity-widget icon indicating copy to clipboard operation
react-netlify-identity-widget copied to clipboard

Instructions do not add react-netlify-identity

Open donaldboulton opened this issue 5 years ago • 1 comments

Instructions do not add react-netlify-identity and it will pop up the modal and provide context but will not login without it.

should it not be

yarn add react-netlify-identity react-netlify-identity-widget @reach/dialog @reach/tabs @reach/visually-hidden and then it add's the updated @reach/dialog @reach/tabs @reach/visually-hidden and you get a npm warring EDIT: Did not need gatsby netlify plugin, My context URl is set globally in ssr and browser

` import React from 'react' import { IdentityContextProvider } from 'react-netlify-identity-widget' import './static/scss/styles.css'

export const wrapRootElement = ({ element }) => ( <IdentityContextProvider url='https://publiuslogic.com'> // without trailing slash / {element} </IdentityContextProvider> )`

check it out at publiuslogic.com

donaldboulton avatar Jan 30 '20 11:01 donaldboulton

hmm i had thought it was not needed since RNIW also includes RNI

swyxio avatar Feb 03 '20 17:02 swyxio