Skip to content

Custom Integration #2691

Closed Answered by gbj
akelyasir asked this question in Q&A
Jul 16, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Sure.

You don't want to use:

  • cargo leptos watch: not part of the crate, cargo-leptos is a (very convenient) separate build tool
  • server: not sure what you mean by this
  • Cargo.toml: I assume you're referring specifically to the cargo-leptos config sections of Cargo.toml, which of course you don't need if you're not using cargo-leptos

It is fairly straightforward to render a View directly to HTML (https://docs.rs/leptos/latest/leptos/ssr/fn.render_to_string.html). All the rest is just for convenience.

If you try and run into more specific issues feel free to ask, of course.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@akelyasir
Comment options

Answer selected by akelyasir
Comment options

You must be logged in to vote
1 reply
@gbj
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants