-
Notifications
You must be signed in to change notification settings - Fork 48
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
tauri+leptos+leptonic gives a compilation error #52
Comments
Hey, I have never used Tauri. But I think demand for it might be high enough that an additional template could be a good idea. To your error specifically: Do you have a
This is necessary for the Clipboard feature. Documentation should definitely reflect this better! |
Thank you. What you mean is to put together a leptonic-template-tauri? That would be awesome! I look forward to that! I think some way forward for me now (as a rust beginner) is to maybe start off with the tauri-leptos scaffold-ed project and replace the front-end demo code with your leptonic-template-csr. I tried to add the AppBar inside that scaffold-ed code. And that angered the compiler. Feels too difficult with my current rustc/cargo understanding to fix. It seems easier to try to glue 2 working projects together ... |
Can you try out this template: https://github.com/lpotthast/leptonic-template-tauri |
Make sure to install the cli for Tauri v2 with |
Thanks you! Well done! I could start on both the Linux desktop and Android emulator! |
I wanted to try tauri with leptos and this leptonic library. I go through these steps:
During the compilation I notice the following error (the tauri demo screen shows up empty white)
Is there something I'm doing wrong in the way to use leptonic in tauri-leptos? Thank you!
PS it works without the clipboard feature. I can copy from and paste to the tauri window. Do one really need the clipboard feature? What benefit does it offer?
The text was updated successfully, but these errors were encountered: