Navigation Menu #134
themanmohan
started this conversation in
General
Replies: 1 comment
-
import { AppProvider as PolarisProvider } from "@shopify/polaris";
import "@shopify/polaris/build/esm/styles.css";
import translations from "@shopify/polaris/locales/en.json";
import { useRoutes } from "raviger";
import routes from "./Routes";
import AppBridgeProvider from "./providers/AppBridgeProvider";
export default function App() {
const RouteComponents = useRoutes(routes);
return (
<PolarisProvider i18n={translations}>
<AppBridgeProvider>
<ui-nav-menu>
<a href="/debug/data">Test URL</a>
<a href="/debug/billing">Billing API</a>
</ui-nav-menu>
{RouteComponents}
</AppBridgeProvider>
</PolarisProvider>
);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The issue is that the above code does not show the navigation menu.
Beta Was this translation helpful? Give feedback.
All reactions