@wocart/storefront / index / LocalePath
Type Alias: LocalePath
LocalePath = {
kind:"page";locale:string;pathname:string; } | {kind:"redirect";location:string; }
Union Members
Type Literal
{ kind: "page"; locale: string; pathname: string; }
Serve pathname in locale.
Type Literal
{ kind: "redirect"; location: string; }
The primary under a prefix, or a single-language page under any: send the shopper to its one address.