MegaMenu Link to NavLink

UI Components for React
Post Reply
shilpikanade
Posts: 15
Joined: 04 Apr 2018, 19:45

03 Jul 2018, 22:10

Hello -

I was trying out the MegaMenu sample and it works great if I have the Url point to an external url. I want to set it to a route within the SPA like for eg when I use NavLink I can set it like

<NavLink to={'/counter'} activeClassName='active'>
<span className='glyphicon glyphicon-education'></span> Counter
</NavLink>


What should my url be set to in the Menu?

Thanks, Shilpi

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests