I do that. It appears to install according to composer. Its in the composer.json but yet its not visible/usable/no trace in WordPress and also not in the site/web/app/plugins directory.
What lead you to believe this? The Navi docs don’t mention this.
Navi is a composer package, with the type “package” so it will be installed to the composer vendor directory. To use it, follow the instructions in the Navi readme. It’s not a WordPress plugin and won’t appear in the plugins.
Wow, ok, a false assumption on my part. I’m so used to everything being a plugin in WordPress. Roots is new to me. Thanks for pointing that out. Navi is a package, not a plugin. That makes sense now.
As, @alwaysblank said, it’s not a WordPress plugin, so you need to include some extra files in your theme to get these composer packages to work. If you want to customize the way your navigation works, you’ll just adjust the navigation.blade.php partial.
OMG, it’s working! Another blunder on my part. I was installing navi as a dependency in Bedrock as opposed to in Sage. No wonder it wasn’t working for me.
With navi installed into Sage, and following the instructions of your Gist, I have it working perfectly fine now. Leaving this here in case someone else makes this error too.