Open mistricky opened 3 years ago
I'm trying to pull material-yew
by git repo way, that's working for me. but Idk why? when I define the version of material-yew
directly, I can't use any component in my project.
You have to enable the required feature.
I really should remove the feature locks as wasm bindgen just doesn't fetch what isn't used. Presumably because rustc just removes that code.
how to do that?
You have to enable the required feature.
I really should remove the feature locks as wasm bindgen just doesn't fetch what isn't used. Presumably because rustc just removes that code.
@santokalayil see cargo features
@hamza1311 i know how to use cargo features. the question is which are options that are to be included
what is the relevant required feature to get rid of this error
Enable the full feature
Enable the full feature
[features] full = []
? how is it
material-yew = { version = "0.1.0", features = ["full"] }
This is how you enable the feature
I have add material-yew as dependencies in my
Cargo.toml
:And then I'm use the
MatButton
frommaterial-yew
in my rust filebut I get the following error
Am I missing something?