Open irocn opened 2 years ago
yew-router = "0.16.0" don't find 'agent'
The problem is yew-router 0.16 has been completely rewritten. 0.15 still has agent. So this will not build as is!
Yeah I did not invest much time in keeping this project up to date. But in any case PRs are very welcome :)
Environment:
error[E0432]: unresolved import
yew_router::agent
--> frontend/src/component/content.rs:20:17 | 20 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute}; | ^^^^^ could not findagent
inyew_router
error[E0433]: failed to resolve: could not find
agent
inyew_router
--> frontend/src/component/login.rs:22:17 | 22 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute}; | ^^^^^ could not findagent
inyew_router
error[E0432]: unresolved import
yew_router::agent
--> frontend/src/component/login.rs:22:17 | 22 | use yew_router::agent::{RouteAgent, RouteRequest::ChangeRoute}; | ^^^^^ could not findagent
inyew_router
error[E0433]: failed to resolve: could not find
agent
inyew_router