UNPKG

@shopify/cli

Version:

A CLI tool to build for the Shopify platform

10 lines (8 loc) 456 B
import {flatRoutes} from '@remix-run/fs-routes'; import {type RouteConfig} from '@remix-run/route-config'; import {hydrogenRoutes} from '@shopify/hydrogen'; export default hydrogenRoutes([ ...(await flatRoutes()), // Manual route definitions can be added to this array, in addition to or instead of using the `flatRoutes` file-based routing convention. // See https://remix.run/docs/en/main/guides/routing for more details ]) satisfies RouteConfig;