-
Notifications
You must be signed in to change notification settings - Fork 33
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
does not work with cargo leptos #86
Comments
I have asked benwise to take a look at this issue. As I have no idea why this is occurring. But from the Error, it seems to be some issue with Mio? Are you using Axum with Leptos? If not, my Session library will not currently work for anything but Axum. I have been planning to expand access to other systems that Leptos supports, but have not found the time to get around to it yet. |
Yes, I use axum. I created my project using: |
For anyone who comes up with this problem, you can solve it by making the crate optional inside leptos project Cargo.toml. many crates have limited WASM support and you need to make them optional and only enable them in the server feature(ssr). so instead of
use the following: (add optional=true):
|
ahh so that was the issue. Thank you for letting us know. We will leave this Open for other people to See the answer too. |
when it is added to leptos project, and after running cargo leptos watch, the following error rises:
Any suggestion on how to resolve this?
The text was updated successfully, but these errors were encountered: