Skip to content
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

Update next documentation #829

Merged
merged 1 commit into from
Feb 26, 2023
Merged

Update next documentation #829

merged 1 commit into from
Feb 26, 2023

Conversation

fritz-c
Copy link
Contributor

@fritz-c fritz-c commented Feb 24, 2023

Summary

This change makes the Next configuration provided in the docs usable in Next 13.

The new installation instructions are for a more advanced configuration than originally appeared in these docs, but the original did not actually work in Next 13, and the workaround took nearly as much code, so I've stuck with the slightly longer config here.

Test plan

The code example is running in my local installation.

The new installation instructions are for a more advanced configuration than originally appeared in these docs, but the original did not actually work in Next 13, and the workaround took nearly as much code, so I've stuck with the slightly longer config here.
@vercel
Copy link

vercel bot commented Feb 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
svgr ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 24, 2023 at 10:37PM (UTC)

@gregberge gregberge merged commit 331c92c into gregberge:main Feb 26, 2023
@gregberge
Copy link
Owner

@fritz-c thanks

@marcofugaro
Copy link

Could we update the website with this? 🙏
https://react-svgr.com/docs/next/

@gregberge
Copy link
Owner

@marcofugaro done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants