Home > @shopware-pwa/composables > SwRouting

# SwRouting type

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Routing type for Shopware SEO path resolvers

Signature:

export declare type SwRouting = {
    availableDomains: ShopwareDomain[];
    fallbackDomain?: string;
    fallbackLocale?: string;
    getCurrentDomain: ComputedRef<ShopwareDomain>;
    setCurrentDomain: (domainData: any) => void;
    getUrl: (path: string) => string;
    getAbsoluteUrl: (path: string) => string;
};

References: ShopwareDomain