-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation is wrong for initialising the plugin. #38606
Comments
…netlify (#648) * Update dependency styled-components to v6 * add babel-plugin-styled-components * rm gatsby-plugin-netlify, obviated by gatsby-adapter-netlify * add gatsby-adapter-netlify to deps and config * add gatsby-adapter-netlify with .default workaround for docs bug see gatsbyjs/gatsby#38606 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ricky de Laveaga <[email protected]>
Same issue with I tried
|
Same issue here, can't make it work with gatsby 5.12.9
|
|
Is there any reason why this isnt fixed in the docs? Annoying to search around for basic things like that.... |
Preliminary Checks
Summary
When including the code as per the docs it actually errors saying adapter is not a function.
Im assuming this is because if you import it will grab the
.default
manuallySteps to Resolve this Issue
.default
at the end of requireThe text was updated successfully, but these errors were encountered: