Cargo Features
Leptonic has no features set by default.
[dependencies]
leptonic = { version = "0.5.0", features = ["csr", "ssr", "hydrate", "clipboard", "tiptap", "full"] }
- csr
-
Enables csr of leptos ^0.6.5
- ssr
-
Enables ssr of leptos ^0.6.5, optional leptos-tiptap, and leptos-use ^0.10.1
- hydrate
-
Enables hydrate of leptos ^0.6.5
- clipboard full?
-
Enables clipboard support. Requires
[build] rustflags = ["--cfg=web_sys_unstable_apis"]
in your cargo.toml. - tiptap full?
-
Enables tiptap editor support. Tiptap related JS files will be copied to your proect directory when running a build.
Enables leptos-tiptap and leptos-tiptap-build
Affects
leptonic::tiptap_editor
… - full = clipboard, tiptap