Polaris menu navigation

dflo09
Visitor
1 0 1

Hello! Does anyone out there have a working example or tutorial of how to get the Shopify Polaris sidebar menu navigation working? Shopify has some of the worst and least up to date information so trying to follow their docs is basically impossible.

 

Just plugging in the menu navigation obviously doesn't work. I am curious what steps they are leaving out that I need to follow?

I've tried the route propagation and client routing stuff but I keep running into the "Browser history needs a DOM" error anytime I try and use anything to do with the react-router package.

My code is the code in those on top of the base shopify app create node install.

Things i've tried: 
https://shopify.dev/apps/tools/app-bridge/react-components/client-router
https://shopify.dev/apps/tools/app-bridge/react-components/route-propagator
https://polaris.shopify.com/components/navigation/navigation#navigation

Reply 1 (1)

RotemOversight
Visitor
1 0 0

I am having the exact same problem...I am trying everything i can but i cannot find a way to make my Navigation polaris component to work...