wainwrightmark / capacitor_bindings

Capacitor bindings for rust
MIT License
9 stars 1 forks source link

[Question] Is this compatible with Maud templating? #2

Closed fraschm1998 closed 10 months ago

fraschm1998 commented 10 months ago

Title. Is capacitor compatible with Maud templating? As it has the html in the rust files and not in .html

wainwrightmark commented 10 months ago

I'm afraid I've not used Maud, but looking at the documentation for it, it seems to be intended for Server Side Rendering. This crate will not work in that context - it's designed for IOS/Android apps that use client side rendering.

Web frameworks like Yew and Leptos have similar macros which can be used for CSR and both are compatible with this.

Does that answer your question? I may have misunderstood what Maud does. If you let me know what you're trying to achieve I might be able to offer more guidance.