Closed Apaksi closed 1 year ago
Tried to add material-yew's use declarations to my app. Tried both of these because both versions appear in the docs:
use material_yew::MatButton; and use material_yew::button::MatButton;
use material_yew::MatButton;
use material_yew::button::MatButton;
But both of them give a similar error:
error[E0432]: unresolved import material_yew::MatButton
My Cargo.toml looks like this:
[package] name = "test_app" version = "0.1.0" edition = "2021" [dependencies] yew = "0.19.3" material-yew = "0.2.0"
I'm using trunk serve to run the app.
trunk serve
You need to enable the features, as the README mentions. You can just enable the full feature and that should take care of it
full
Tried to add material-yew's use declarations to my app. Tried both of these because both versions appear in the docs:
use material_yew::MatButton;
anduse material_yew::button::MatButton;
But both of them give a similar error:
error[E0432]: unresolved import material_yew::MatButton
My Cargo.toml looks like this:
I'm using
trunk serve
to run the app.