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

ssr

Enables ssr of leptos, optional leptos-tiptap, and leptos-use

hydrate

Enables hydrate of leptos

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