Routing issue

I hv an OutlineLayout that extends AppLayout and impl RouterLayout. In here, I hv something as :

Tab first = new Tab(new RouterLink("firstLink", FirstView.class));
Tab second = new Tab(new RouterLink("secondLink", SecondView.class));

Tabs allTabs = new Tabs();
allTabs.add(first, second);

The FirstView and SecondView classes are set up with relevant value for @Route and layout = OutlineLayout.class

After all this, clicking on First in nav doesn’t tk me to that view. What am I missing?

any help, guys? thanks!