-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to run in WasmCloud? #12
Comments
I have read the introduction of the
|
Hello! The component you obtain from using the template there: https://github.com/leptos-rs/start-wasi is using native WASI interfaces so you shouldn't have any trouble running it in a wasmCloud environment. Sadly, the only way I have found to let users pass the WASI types in the I am not aware of a way to ease the process, I know you can use a custom WIT cc @brooksmtownsend, do you have any insights? 🙏 |
I've tried and the backend works fine. However, it seems that the existing approach doesn't allow the front-end static resources to be used directly. After reading the |
The |
I think we should have another crate specifically for wasmCloud anyway. This is what folks with Spin do. They integrate |
Isn't that what this is? https://github.com/raskyld/leptos-wasmcloud
…On Wed, Dec 11, 2024, at 4:08 AM, Enzo Nocera wrote:
I think we should have another crate specifically for wasmCloud anyway.
This is what folks with Spin do. They integrate `leptos_wasi` in their `spin` integration crate to have a DX really tailored for Spin users.
—
Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABVBTCP2SFEU5CVUICBSH7D2FATKPAVCNFSM6AAAAABS3IBDC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZVHAYTINBXGE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I have looked at the examples of WasmCloud. They used the
wasmcloud-component
andwit-bindgen
crate instead ofwasi
. I'm not sure if it will have any impact.The text was updated successfully, but these errors were encountered: