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

Support Remix (React Router) #34

Closed
kettanaito opened this issue Jan 4, 2025 · 1 comment · Fixed by #35
Closed

Support Remix (React Router) #34

kettanaito opened this issue Jan 4, 2025 · 1 comment · Fixed by #35
Labels
enhancement New feature or request

Comments

@kettanaito
Copy link
Owner

Since the React Router edition doesn't use the remix() Vite plugin, it doesn't inject its context either. The OG image plugin shouldn't be able to work at all, given it relies on some Remix context internals like the routes.

Error: Failed to apply "remix-og-image" plugin: no Remix context found. Did you forget to use the Remix plugin in your Vite configuration?
@kettanaito kettanaito added the enhancement New feature or request label Jan 4, 2025
@kettanaito
Copy link
Owner Author

Released: v0.5.0 🎉

This has been released in v0.5.0!

Make sure to always update to the latest version (npm i remix-og-image@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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

Successfully merging a pull request may close this issue.

1 participant