Cargo Features
[dependencies]
leptos-cosmo = { version = "1.0.11", default-features = false, features = ["with-icons", "csr", "hydrate", "ssr"] }
- default = hydrate, with-icons
-
These default features are set whenever
leptos-cosmo
is added without
somewhere in the dependency tree.default-features = false - with-icons default
-
Enables icondata and leptos_icons ^0.4
Affects
button::CircleButtonSize
,button::circle_button
,leptos-cosmo::icons
… - csr
-
Enables gloo-history, gloo-net, and gloo-utils
- hydrate default
-
Enables gloo-history, gloo-net, and gloo-utils
- ssr