MCPcopy Create free account
hub / github.com/Shopify/function-examples / links

Function links

sample-apps/discounts/app/routes/app.jsx:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9import { authenticate } from "../shopify.server";
10
11export const links = () => [{ rel: "stylesheet", href: polarisStyles }];
12
13export async function loader({ request }) {
14 await authenticate.admin(request);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected